Samba Share external hard drives
-
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.1I 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. -
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
-
@mediamogul Thanks, Will give this a try when I get home.
-
It worked. Thanks again.
-
Not a problem.
-
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.
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.