Project

General

Profile

Feature #6333

ZFS should let the user specify or modify the fsid_guid of a dataset

Added by Alexandre Lécuyer about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-10-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

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)

History

#1

Updated by Dan Vatca about 4 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.

#2

Updated by Alexandre Lécuyer about 4 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 !

Also available in: Atom PDF