Feature #6333
openZFS should let the user specify or modify the fsid_guid of a dataset
0%
Description
The fsid_guid of a dataset is used to derive the vfs_fsid when the dataset is mounted. It is then used as the fh3_fsid if the filesystem is NFS exported.
The ability to modify the fsid_guid, or to choose it for a newly created dataset, would ease the migration of NFS clients from a NFS fileserver to another. (if the fh3_fsid is the same on source and destination, no umount/mount is needed on the client)
Updated by Dan Vatca about 8 years ago
Alexandre Lécuyer wrote:
The fsid_guid of a dataset is used to derive the vfs_fsid when the dataset is mounted. It is then used as the fh3_fsid if the filesystem is NFS exported.
The ability to modify the fsid_guid, or to choose it for a newly created dataset, would ease the migration of NFS clients from a NFS fileserver to another. (if the fh3_fsid is the same on source and destination, no umount/mount is needed on the client)
I have been working on NFS migration in an HA cluster and implemented this. Will post a code review shortly.
Updated by Alexandre Lécuyer about 8 years ago
Here is the patch to allow the modification of fsid_guid.
https://github.com/illumos/illumos-gate/compare/master...ovh:fsid_guid?expand=1
I'll see if I can generate and upload a webrev, any advice/review welcome in the meantime !