RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Trying to spread files across two different hard drives

    Scheduled Pinned Locked Moved Help and Support
    x86 ubuntuhard drivemount drive
    15 Posts 3 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      construkt @mitu
      last edited by construkt

      @mitu

      It's showing 398GB available on /dev/sda which is the second drive. The primary is /dev/nvme0n1p2. It's pretty crazy how much drive space I lose in ext4 as well, but I don't know that there is much I can do about that besides reclaiming the file system overhead.

      I know there is plenty of room on the second drive, though. I was able to transfer the files by sending them over in smaller chunks that were smaller than the available space on the primary drive. It just seems like I did something wrong if it's throwing me errors like this. Also, when I go to the Samba shares, the file location shows up as /Disk2/Disk2/roms/systemname which I thought was odd.

      Filesystem      Size  Used Avail Use% Mounted on
      udev            3.9G     0  3.9G   0% /dev
      tmpfs           790M  3.3M  787M   1% /run
      /dev/nvme0n1p2  916G  788G   82G  91% /
      tmpfs           3.9G   12K  3.9G   1% /dev/shm
      tmpfs           5.0M  4.0K  5.0M   1% /run/lock
      tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
      /dev/loop2       55M   55M     0 100% /snap/core18/1668
      /dev/loop1      2.5M  2.5M     0 100% /snap/gnome-calculator/748
      /dev/loop3       90M   90M     0 100% /snap/core/8268
      /dev/loop4      2.3M  2.3M     0 100% /snap/gnome-system-monitor/148
      /dev/loop0       98M   98M     0 100% /snap/core/9289
      /dev/loop5      4.3M  4.3M     0 100% /snap/gnome-calculator/544
      /dev/loop6      256M  256M     0 100% /snap/gnome-3-34-1804/36
      /dev/loop7      161M  161M     0 100% /snap/gnome-3-28-1804/116
      /dev/loop10      15M   15M     0 100% /snap/gnome-characters/399
      /dev/loop9      102M  102M     0 100% /snap/p7zip-desktop/220
      /dev/loop8      1.0M  1.0M     0 100% /snap/gnome-logs/100
      /dev/loop11     162M  162M     0 100% /snap/gnome-3-28-1804/128
      /dev/loop12     384K  384K     0 100% /snap/gnome-characters/550
      /dev/loop13     256K  256K     0 100% /snap/gtk2-common-themes/9
      /dev/loop14      63M   63M     0 100% /snap/gtk-common-themes/1506
      /dev/loop15      55M   55M     0 100% /snap/core18/1754
      /dev/loop16     1.0M  1.0M     0 100% /snap/gnome-logs/81
      /dev/loop17     3.8M  3.8M     0 100% /snap/gnome-system-monitor/127
      /dev/loop18      45M   45M     0 100% /snap/gtk-common-themes/1440
      /dev/sda        916G  472G  398G  55% /media/pi/Disk2
      /dev/nvme0n1p1  511M  6.1M  505M   2% /boot/efi
      tmpfs           790M  1.9M  788M   1% /run/user/1000
      
      
      mituM 1 Reply Last reply Reply Quote 0
      • YFZdudeY
        YFZdude
        last edited by

        I don't have much experience with this, but I thought I read in a plex setup guide that they don't recommend using the /media folder for secondary drive mounts because ubuntu has funny permissions / ownership issues with that. They suggest using /disks instead.

        Does this sound plausible?

        C 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @construkt
          last edited by

          @construkt Seems fine. Can't understand why you get an error copying.

          C 1 Reply Last reply Reply Quote 0
          • C
            construkt @mitu
            last edited by

            @mitu

            Maybe my smb.conf is messed up? Here it is here: https://pastebin.com/RZWC8qtn

            I've been trying to make it show up in Windows on the network with no success so I've followed a few guides trying to make that happen. I still have to type in \retropie in windows explorer because it wont show up in my network automatically. Still working through that, but it's possible I put in some settings incorrectly.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              @construkt said in Trying to spread files across two different hard drives:

              Maybe my smb.conf is messed up? Here it is here: https://pastebin.com/RZWC8qtn

              Is the error showing up when you try to copy over the network ? I though you were trying to copy from the 1st disc to the 2nd.

              C 1 Reply Last reply Reply Quote 0
              • C
                construkt @YFZdude
                last edited by

                @YFZdude it automatically mounted it to /media/pi, so I just didn't change it.

                1 Reply Last reply Reply Quote 0
                • C
                  construkt @mitu
                  last edited by

                  @mitu

                  No, sorry I meant over the network. I'm transferring files from my Windows machine to the mounted folders, which are also shared on the network.

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    What's the point ? You already have a desktop available, why don't you transfer them directly ? Regardless, your share definition might be the problem - since Samba doesn't know you have more space available on /home/pi.

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      construkt @mitu
                      last edited by

                      @mitu

                      I definitely could. I did get the necessary programs for doing such on it, but I have more tools available on my desktop, and a lot more real estate. Plus my desktop has 3 large displays and is on a desk while the NUC is sitting on an entertainment center that is awkwardly low.

                      My share definition? So it's just Samba not understanding how the folders are connected then? I'm really just worried that I'll fill up the primary drive more and won't ever be able to transfer anything across the network to the retropie box.

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @construkt
                        last edited by

                        @construkt Use the RetroPie-Setup script to restore the default Samba shares, I think it should work better than the current share situation.

                        Plus my desktop has 3 large displays and is on a desk while the NUC is sitting on an entertainment center that is awkwardly low.

                        Just SSH to your RetroPie and use mc to transfer the files.

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          construkt @mitu
                          last edited by

                          @mitu alright thanks ill give that a shot

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.