I was on FreeNAS 11.2U7 and I created an SMB share of the root of a pool. There were several directories (not datasets) created after this. Now I have upgraded to TrueNAS, imported the pool, and I cannot get the shares to work. Windows says the password is incorrect every time. Im virtualized with the HBA passedthrough if that matters.
In freenas it was possible to use the root dataset and root as user for smb shares. That has been changed to improve security. You now need a dedicated smb user and have to create a child dataset for smb shares. Then you have to move all your data from the root dataset to the child dataset. Since you can’t share it out anymore you probably have to use an ssh session and tmux so that the copy process can keep running in the background
Since I got you here, I have a single drive that I mirrored from a failing single drive vdev and it has some zfs errors after the resilver and removal of the bad drive. Since I cannot recover those files, how do I remove those bad files and flag the pool as healthy again?
it should tell you which files are affected.
But if it’s metadata that’s affected it’s propably a destroy pool and rebuild from backup szenario. Hard to know without the output of the command i posted…
just movies and music. i rm’d them and the list tunred into some variables so im running a scrub now. hoping that’ll make the list empty instead. i dont know about the unhealthy flag tho
FAILED
[EPERM] Filesystem Persmission on path /mnt/vol1 prevent access for group “mygroup” to the path /mnt/vol1/Media. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/vol1.
Is it jacked up from when I shared the root before? Do I need to chmod something?