如果您具有先前的 Solaris 发行版的 ZFS 文件系统,可以使用 zfs upgrade 命令升级该文件系统,以利用当前发行版中的文件系统功能。此外,此命令在文件系统运行旧版本时会通知您。
例如,此文件系统当前运行的版本是 5。
# zfs upgrade This system is currently running ZFS filesystem version 5. All filesystems are formatted with the current version.
使用此命令可以确定每个文件系统版本的可用功能。
# zfs upgrade -v The following filesystem versions are supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS filesystem version 2 Enhanced directory entries 3 Case insensitive and File system unique identifier (FUID) 4 userquota, groupquota properties 5 System attributes For more information on a particular version, including supported releases, see the ZFS Administration Guide.
有关升级加密的文件系统的信息,请参见升级加密的 ZFS 文件系统。