Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore errors due to sharesmb on pool import
For users who have sharesmb property set to on, when trying to import the pool on TrueNAS, they run into error and pool import fails because the samba usershares path on Linux, i.e. /var/lib/samba/usershares does not exist on TrueNAS SCALE. To resolve this issue, do not return the error while enabling the SMB shares, instead print the error message and continue. Since we rely on middleware to manage the SMB shares, returing the error results in failure of overall command, even though imported pool shows up in zpool list. Signed-off-by: Umer Saleem <[email protected]>
- Loading branch information