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

    Samba share of external drive.

    Scheduled Pinned Locked Moved Help and Support
    sambausbflash drivefstabaccess
    6 Posts 2 Posters 754 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.
    • EfriimE
      Efriim
      last edited by Efriim

      Retropie 4.4 + update 4.4.12
      Rpi3B+ with generic PSU and MegaPi case
      USB Drive is 16gb Sony flash, formatted in windows to 16gb fat32,16kb blocksize.
      Fstab mounts to a folder "RetroPie/memorycard" [pi.pi rwxr-xr-x (755)] with the following:
      UUID=1A92-F7C1 /home/pi/RetroPie/memorycard vfat defaults,user,rw,uid=pi,gid=pi 0 1
      Samba is active with writeable okay, default mask, force user = pi.

      The mount is okay, and the share is active and works for most read and write.
      The problem is when transferring a large file 500mb+ to the USB drive over network ethernet, the transfer times-out unable to complete, losing sustained access, the transfer calculation never completes.

      The ethernet cable is connected directly pc to pi. I'm considering there is either some sort of filesystem scheduler (fat32 mount on EXT4 dir) or network (ethernet configuration pi side) problem.
      Maybe it is the blocksize(16kb) or mount options, in the RetroPie dir.
      Transferring onboard from the sdcard to the usb media works without fail.

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

        @Efriim Is your OS also updated ? There have been some bugs with the ethernet adapter on the 3B+ that have been solved with kernel updates.
        Did you try the Wifi instead of ethernet ?

        EfriimE 1 Reply Last reply Reply Quote 0
        • EfriimE
          Efriim @mitu
          last edited by

          @mitu
          No, I think updated the OS round 4.4.11
          Can you give me the command to call just the OS update from the package manager?
          Usually I will just update all packages.

          I tried the wifi just now it is the same. It is specific to the USB drives samba share 300mb+ file transfer.
          It will say it is calculating the time for about a minute, then

          There is a problem accessing \\10.0.0.2\memorycard
          
          Make sure you are connected to the network and try again.
          |\\        dos
          | \\       Type: File folder
          |  ||      Date modified: 5/16/2019 7:45 PM
           \_||
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Efriim
            last edited by

            Can you give me the command to call just the OS update from the package manager?

            If you answered yes when asked to update the OS packages in the RetroPie-Setup update process, then you already have the latest versions of the kernel and firmware.

            There is a problem accessing \10.0.0.2\memorycard

            Does it work if you copy the file to the roms folder ?

            Before you start the transfer, run (from a SSH session or terminal) dmesg -c. Start the transfer, then get the error. Run dmesg and see if you get any error messages.

            EfriimE 1 Reply Last reply Reply Quote 0
            • EfriimE
              Efriim @mitu
              last edited by

              @mitu
              The roms folder share does not share this problem; it is only the memorycard usb share.

              dmesg turned no error.

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

                @Efriim Then the problem is the Samba share and not the Pi. Restart Samba after you the USB is mounted and then re-try to copy the file to the share.

                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.