Project

General

Profile

Actions

Feature #6333

open

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

Added by Alexandre Lécuyer about 8 years ago. Updated about 8 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
Gerrit CR:
External Bug:

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)

Actions #1

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.

Actions #2

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 !

Actions

Also available in: Atom PDF