zfs/man/man7
Umer Saleem 4e16964e1c
Add '-u' - nomount flag for zfs set
This commit adds '-u' flag for zfs set operation. With this flag,
mountpoint, sharenfs and sharesmb properties can be updated
without actually mounting or sharing the dataset.

Previously, if dataset was unmounted, and mountpoint property was
updated, dataset was not mounted after the update. This behavior
is changed in #15240. We mount the dataset whenever mountpoint
property is updated, regardless if it's mounted or not.

To provide the user with option to keep the dataset unmounted and
still update the mountpoint without mounting the dataset, '-u'
flag can be used.

If any of mountpoint, sharenfs or sharesmb properties are updated
with '-u' flag, the property is set to desired value but the
operation to (re/un)mount and/or (re/un)share the dataset is not
performed and dataset remains as it was before.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15322
2023-10-02 16:58:54 -07:00
..
dracut.zfs.7 contrib: dracut: fix race with root=zfs:dset when necessities required 2023-03-31 09:47:48 -07:00
vdevprops.7 Configure zed's diagnosis engine with vdev properties 2023-01-23 13:14:25 -08:00
zfsconcepts.7 Ubuntu 22.04 integration: mancheck 2022-11-18 11:26:41 -08:00
zfsprops.7 Add '-u' - nomount flag for zfs set 2023-10-02 16:58:54 -07:00
zpool-features.7 Increase limit of redaction list by using spill block 2023-08-26 11:34:43 -07:00
zpoolconcepts.7 Remove implication that child `disk`s aren't vdevs in zpoolconcepts(7) 2023-09-11 14:58:19 -07:00
zpoolprops.7 Add support for zpool user properties 2023-04-21 10:20:36 -07:00