Hello,
I need to create a separate share in smb.config that maps to the root of the USB device I want to share directly. This will allow me to show the correct free space for the disk, etc. currently a USB drive shows up, but I onlly see the internal SD card capacity, not the external USB
I know how to ssh, I know how to edit the smb.conf file. However, I do NOT know what to put in the config to make the hardrive show it’s free space and NOT the internal storage. My USB drive is located at dev/sda1
drive is formatted at EXT4 and is 500gb currently it’s only showing the internal storage
thanks for the help!!
(Also, yes, I’m aware of the following, just need to know what to type in my smb.conf)
It seems that because /mnt/USB is being shared, which is part the root file system, Samba was reporting the size of the root file system and not the size of the USB. Changing smb.conf to point to the mount point of the USB stick it now reports the correct size.
Here is my current smb.conf
[global]
netbios name = Volumio
server string = Volumio Audiophile Music Player
workgroup = WORKGROUP
security = user
map to guest = Bad User
encrypt passwords = yes
wins support = yes
local master = no
preferred master = no
os level = 30
[Internal Storage]
comment = Volumio Internal Music Folder
path = /data/INTERNAL
read only = no
guest ok = yes
[USB]
comment = Volumio Internal Music Folder
path = /mnt/USB
read only = no
guest ok = yes
[NAS]
comment = Volumio Internal Music Folder
path = /mnt/NAS
read only = no
guest ok = yes