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 external hard drives

    Scheduled Pinned Locked Moved Help and Support
    hard drivesambaretropie
    6 Posts 3 Posters 3.9k 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.
    • S
      Sheldon25
      last edited by Sheldon25

      Hi everyone, I apologize if I am not in the correct spot.

      Raspberry Pi 3
      Using official Power supply, i believe 2.5 amps
      Retropie 4.1 ( Can't remember if any other number after, am not in front of my pi now)
      Built from retropie Image 4.1

      I have a raspberry pi 3 running the latest version of retro pie, I usually update my scripts weekly and install the updates.
      Is there a way to have an external hard drive auto shared. That way, when I go to my device on the network using my pc/mac I can view the hdd/flash drive and modify files as needed. I have looked through the smb.conf file in /etc/samba and do not see any options that would allow this to happen. I know this is possible in Openelec. Any advice would be greatful. I hope this makes sense. Thanks for reading.

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @Sheldon25
        last edited by mediamogul

        @Sheldon25

        You just need to add the entry yourself to the smb.conf file and then reboot. An example would look like:

        [external_hdd]
        comment = external_hdd
        path = "/path/to/external/hdd/mount"
        writeable = yes
        guest ok = yes
        create mask = 0644
        directory mask = 0755
        force user = pi
        

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        S A 2 Replies Last reply Reply Quote 0
        • S
          Sheldon25 @mediamogul
          last edited by

          @mediamogul Thanks, Will give this a try when I get home.

          1 Reply Last reply Reply Quote 0
          • S
            Sheldon25
            last edited by

            It worked. Thanks again.

            mediamogulM 1 Reply Last reply Reply Quote 1
            • mediamogulM
              mediamogul Global Moderator @Sheldon25
              last edited by

              @Sheldon25

              Not a problem.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • A
                Aenima @mediamogul
                last edited by

                Thanks for the help I got my USB HDD to be listed and accessable via my windows pc. the problem I'm encountering now is that the write speed to the hdd is only ~2mbytes/s . I wonder if there is way to fix this, this cannot be the maximum speed of the disk, something must be restricting or slowing down the transfer rate? thanks in advance.

                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.