trying to configure samba to work with external usb drive
https://askubuntu.com/questions/1565997/trying-to-configure-samba-to-work-with-external-usb-drive
I have a computer (Kubuntu 24.04) on my local network with 3 folders shared through samba. Two of them are on an internal hard drive and the other computers on the network are able to access them with no issues.
However, the 3rd one is on an external usb hard drive and I haven't been able to get the other computers on the network to mount this one. In /etc/fstab I have:
UUID=A8C0-A4CD /media/user1/Rocstor exfat rw,defaults,uid=1000,gid=988,fmask=0002,dmask=0002 0 0
to mount it when the computer starts.
In /etc/samba/smb.conf, I have:
[rocstor_folder]
comment = rocstor_ls_x
path = /media/user1/Rocstor/rocstor_shared
valid users = sambauser, @sambashare
writeable = yes
browsable = yes
read only = no
force group = sambashare
and the folder permissions:
$ stat /media/user1/Rocstor/rocstor_shared
File: /media/user1/Rocstor/rocstor_shared
Size: 131072 Blocks: 256 IO Block: 131072 directory
Device: 8,66 Inode: 2 Links: 6
Access: (0775/drwxrwxr-x) Uid: ( 1000/ user1) Gid: ( 988/sambashare)
smbclient (ls1 and ls2 are the ones that work):
$ smbclient -L 10.0.0.9
Password for [WORKGROUP\user1]:
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
ls1 Disk
ls2 Disk
ls_www Disk
rocstor_folder Disk rocstor_ls_x
IPC$ IPC IPC Service (linuxserver server (Samba, Ubuntu))
SMB1 disabled -- no workgroup available
When I try to mount this from the other computers it says the share isn't found. I haven't been able to figure out why they can't see it.