Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8051

Networking and servers • Re: Samba Guidance

$
0
0
Hi,

So I tried your (Thagrol) thing with fstab...

Code:

/mnt/nvme02/Music       /mnt/music      none    defaults,bind,nofail    0       0/mnt/nvme02/Photos      /mnt/photos     none    defaults,bind,nofail    0       0
...which worked. I couldn't map a drive to it from Windows so reasoned that it needed an entry in smb.conf...

Code:

[global]log file = /var/log/samba/log.%mserver role = standaloneunix password sync = yes# include = registry[nvme02]path = /mnt/nvme02/available = yesvalid users = xxxxxxxxread only = nobrowsable = yespublic = yeswritable = yesforce create mode = 666force directory mode = 777[music]path = /mnt/music/available = yesvalid users = xxxxxxxxread only = nobrowsable = yespublic = yeswritable = yesforce create mode = 666force directory mode = 777[photos]path = /mnt/photos/available = yesvalid users = xxxxxxxxread only = nobrowsable = yespublic = yeswritable = yesforce create mode = 666force directory mode = 777
... but I was unable to write to them so I turned to chmod

Image

Code:

chmod 777 /mnt/musicchmod: changing permissions of '/mnt/music': Input/output error
EDIT: It mostly seems to happen on reboot (of the Pi) i.e. I can set it up and it seems to work but, on reboot, it no longer does. I mean sure, I could never reboot but I don't think that's feasible... I mean Linux doesn't require reboots as much as Windows but it does have to reboot some times.

Any ideas?

James
sambanowrite.png

Statistics: Posted by JamesCRocks — Sat Aug 09, 2025 2:02 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles