i am new to Volumio and have an issue with the maintenance of my Music library!
My Volumio (Version 2.413 on RasPI) runs perfectly fine, except i am not able to write or delete files on the drive my Music is on.
Therefore i am unable to update my library with new songs from my Windows PC over the network
Sidenote: i already copied the files to the drive (NTFS btw.) directly from my Windows PC before connecting it to the RasPI
It is an external USB Drive with one TB capacity (it is the drive sda2)
It (sda2) is mounted properly and i can find it under /media/music, so far so good
Now:
It is owned by ârootâ and i therefore have no permission to write or delete any files when i try to access the Folder from Windows (smb share)
I tried to âsudo chownâ the directory to the user:group volumiovolumio --> operation not permitted (not even as root over local console on the RasPi.
Trying to change it to nobody:nogroup didnât work as well
Same sad story for trying chmod to 666 as root --> it does not change permissions and no error messageâŚ
What can i do?
Anything related to samba (smb.conf)?
Anything relate to how the drive is being mounted?
Many thanks in advance for your help
PS: just in case someone wonders - i did search the forum before posting, but i did not find a solution - Sorry guys
NTFS is only read only under Raspbian (on which Volumio is based). You will need to install extra drivers if you want to use this file format (ntfs-3g I think, but Google it to check).
I have noticed that i can write to that folder when i am logged in via SSH as user volumio
ntfs 3d is installed
So my conclusion is that is most likely a SAMBA problemâŚ
This my smb.conf file:
global]
netbios name = Volumio
server string = 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 USB Music Folder
path = /mnt/USB
read only = no
guest ok = yes
[NAS]
comment = Volumio NAS Music Folder
path = /mnt/NAS
read only = no
guest ok = yes
OK, good to know. Your drive must already be mounted if Volumio is playing music off it. You could see for yourself by looking at â/mnt/USBâ and checking that your music files are there.
Your smb.conf looks fine, as long as your music collection actually is at /mnt/USB.
Can you access the files on the share from windows as user âvolumioâ?
Iâve dug out a Windows 10 machine (I donât normally use Windows), and used a usb stick formatted as NTFS. I can add and delete files from Windows 10 without a problem. So, there is something odd going on here .
So, we know NTFS is ok, you have the stock smb.conf, so Samba should be ok.
On your Windows machine, what exactly does Windows show when you view the USB HDD share on the RPi? What does it show when you try and transfer files?
On your RP,what are the owner and permissions on the files on your USB HDD?
Your music should be mounted in /mnt/usb automatically. Have you mounted the drive somewhere else manually? The EFI folder doesnât make much sense on a RPi
No i didât - i have used the stock volumio image from the hompage, put it on the sd-card and fired up my RasPi
And what you saw on the screenshot is what came out
First of all: i made a mistake by thinking the external drive is NTFS --> it was not (my bad)
The drive was formatted as exFAT
I played around with an USB Stick and formatted it with NTFS, then exFAT and found out that only exFat is being mounted for root and no write permissions.
Well Iâm glad youâve sorted it: I really didnât understand the mount uid/gid, but exFAT explains that ⌠you definitely need additional drivers for that, BUT simply stick with NTFS and you should be fine
Please could you explain how you managed to get this working? I too have a 1 TB USB drive connected to my Raspberry Pi3 running Volumio (latest version). The drive is formatted NTFS. Is there a setting I need to change in the Volumio config to enable write access from my Windows 10 PC?