Summary : Previously working samba shares now give an error "the network path was not found" when attempting access from Windows. The shares exist, and can be seen, but cannot be accessed.
Setting aside the problems I'm having getting idle drives to spin down, I'm carrying on setting up the Raspberry pi disk server (NAS).
The other day it all went smoothly, I connected a disk via a USB adaptor, created a partition, formatted it (ext4) and shared it out via samba.
Windows PCs could see the share, and access it, both read and write, without having to give a username or password. This is exactly what I wanted.
Yesterday I took the hard disk out of my existing slow standalone NAS unit, connected it to a 2nd USB adaptor on the pi, and discovered it was formatted by the NAS with the XFS file system.
To avoid confusion, I dismounted the 1st disk (named vol0) and mounted the XFS disk. I shared this out out the network, and copied all the files off it onto a Windows PC. I left this running overnight.
All worked well.
Tonight I have deleted the partition on the original XFS NAS disk, and created a new ext4 one.
I've mounted it, modified fstab to mount them both, and modified samba.conf to share out both disks.
Restarted samba and....
I can no longer access either disk from a Windows pc!
The shares both appear, but when I try to access them, I get an error that states "the network path was not found"
If I stop samba, the network shares disappear, as expected. They reappear if I restart samba. But I can't look at files on the shares, I get the "the network path was not found" error.
Any thoughts as to what I've done?
I can understand the new disk having problems (eg permissions) but why has the original disk, which was working ok the other day, stopped working?
There is also a share of the user home folder, and this gives the same error when I try to access it. It is located on the SD card.
I'm assuming it's a permissions thing (?) but what global permissions should I be looking at? How might I have broken it?
Is very frustrating when it was all working well yesterday!
Any thoughts?
Ian
Modified to add : I can access both disks successfully via ssh login on the pi.