File Retention Restrictions

The ZFS file retention feature has the following restrictions:

  • You cannot rename a retained file or rename any part of that file's path. Note that you can rename a directory only if the directory is empty.

  • You cannot roll back any dataset that uses the mandatory retention policy even if you use the zfs rollback -F command.

  • No privilege exists that permits you to destroy a file system or pool that has unexpired retained files when the file system uses the mandatory retention policy.