Hi All, having a new issue with omv6 after some tinkering.
Situation: Upgraded some disks, retiring my raid 1 (mirrored) pair of 4tb hdd's for a pair of 8tb ssd's, again mirrored. I built the array yesterday, then spent all day copying using rsync archive to copy the old array to the new. I have a second array for CCTV but this seems fine and not impacted.
The array is my main storage and contained some shared public folders, tv shows, films, music and such. Also the Personal folder that OMV makes for it's users to have personal folders. I went through all config settings in the ui to point everything at the new array. All seemed well until I rebooted.
Now the public shares all work, I can watch the films from a remote pc just fine as before. But cannot mount the private folders anymore. Looking at omv there are errors I cannot clear.
Under Storage > Software RAID I see both arrays, both clean. md1 is the new one. md127 is cctv.
Now if I go to Storage > File Systems I see 3 items, the cctv along with the / disk, but the one for the new md1 is missing, litterally with the status of missing. Attempting to edit the empty entry shows this error:
fsname: The value "" does not match exactly one schema of [{"type":"string","format":"fsuuid"},{"type":"string","format":"devicefile"},{"type":"string","format":"dirpath"}].
I then checked fstab and it looks fine to my eye, nothing wrong and with the correct reference to the mount point.
If I unmount partition and run fschk it comes back clean and fine. I have no reason to think the disks/filesystem/data are bad at this point since I can access 95% of it (via smb and 100% via the terminal using ssh) and df shows it's 42% full as expected.
Editing and saving settings related to shares (in the omv ui) all go through fine but nothing changes. I see nothing serious in the system logs that would relate to this. I've checked smb config file and it looks good all pointing to the right places, tried restarting it via systemd and nothing changes. smb is not really the problem I think. If the files system error above can be cleared up I think smb will fully work.
Notes: Old array was using disk-by-label which I read is legacy, new disk uses UUID. Docker was fixed by using symlink to the old disk directory in /srv/dev-disk-by-label-NAME/ which fixed all my dockers containers etc.
Edit: I just discovered that rebooteing it breaks samba, I have to disable and enable it again to make it work.