pool.dataset.rename =================== Rename a zfs resource (filesystem, snapshot, or zvolume) of `id`. No safety checks are performed when renaming ZFS resources. If the dataset is in use by services such as SMB, iSCSI, snapshot tasks, replication, or cloud sync, renaming may cause disruptions or service failures. Proceed only if you are certain the ZFS resource is not in use and fully understand the risks. Set Force to continue. NOTE: The "recursive" option is only valid for renaming snapshots. If True, and a snapshot is given, the snapshot will be renamed recursively for all children. For example: dozer/a@now, dozer/a/b@now will be renamed to dozer/a@new dozer/a/b@new. Renaming snapshots IS NOT recommended and can cause disruptions or service failures all the same. .. raw:: html
The current dataset ID (full path) to rename.
Must be at least 1 characters long
The rename operation options including the new name and safety flags.
No Additional PropertiesThe new name for the dataset.
Must be at least 1 characters long
Whether to recursively rename child datasets.
This operation does not check whether the dataset is currently in use. Renaming an active dataset may disrupt SMB shares, iSCSI targets, snapshots, replication, and other services.
Set Force only if you understand and accept the risks.
Returns null on successful dataset rename.