Hello,
I am trying to use TrueNAS to serve home directories via NFS on a pool of 4TB drives:
If I migrate the home directories to a new, larger pool of 8tb drives, I must modify the fstab on each client to reflect this because the export has changed:
I would like this to be streamlined such that there are no fstab changes on the clients (they shouldn't care that I'm migrating pools).
I've considered and rejected the following solutions:
What am I missing? This should be easy?
I am trying to use TrueNAS to serve home directories via NFS on a pool of 4TB drives:
Code:
$showmount -e truenas Export list for truenas: /mnt/wd4tb/home/dave (everyone)
If I migrate the home directories to a new, larger pool of 8tb drives, I must modify the fstab on each client to reflect this because the export has changed:
Code:
$showmount -e truenas Export list for truenas: /mnt/wd8tb/home/dave (everyone)
I would like this to be streamlined such that there are no fstab changes on the clients (they shouldn't care that I'm migrating pools).
I've considered and rejected the following solutions:
- Use mount_nullfs to bind the nfs export to a persistent path. [mount --bind in linux, used often there]
- this doesn't seem to work nicely in truenas, as nfs detects crossmount and prevents it.
- Change the mount point of the home data set to a pool-independent path
- this gets away from the spirit of truenas and is poo-pooed by the community
- Use client scripts to mount the home directory based on the export list
- this solution is easy enough, but really is it necessary for something so simple?
What am I missing? This should be easy?