使用 Oracle Solaris Live Upgrade 将 UFS 根文件系统迁移到 ZFS 根文件系统之前,请查看以下问题:
Oracle Solaris 安装程序 GUI 的标准升级选项不可用于从 UFS 迁移到 ZFS 根文件系统。要从 UFS 文件系统迁移,您必须使用 Oracle Solaris Live Upgrade。
在进行 Oracle Solaris Live Upgrade 操作之前,必须创建将用于引导的 ZFS 存储池。此外,由于当前的引导限制,必须使用片而不是整个磁盘创建 ZFS 根池。例如:
# zpool create rpool mirror c1t0d0s0 c1t1d0s0 |
创建新池之前,请确保要用于池中的磁盘具有 SMI (VTOC) 标签而不是 EFI 标签。如果使用 SMI 标签重新标记磁盘,请确保标记过程未更改分区方案。在大多数情况下,所有磁盘容量应位于将用于根池的片中。
您不能使用 Oracle Solaris Live Upgrade 从 ZFS BE 创建 UFS BE。如果将 UFS BE 迁移到 ZFS BE,并且保留 UFS BE,则可以从 UFS BE 或 ZFS BE 引导。
请勿使用 zfs rename 命令重命名 ZFS BE,因为 Oracle Solaris Live Upgrade 功能无法检测名称更改。后续命令(如 ludelete)将会失败。实际上,如果有要继续使用的现有 BE,则请勿重命名 ZFS 池或文件系统。
创建备用 BE(主 BE 的克隆)时,不能使用 -f、-x、-y、-Y 和 -z 选项从主 BE 中包括或排除文件。在以下情况下,您仍可以使用包括和排除选项设置:
UFS -> UFS UFS -> ZFS ZFS -> ZFS (different pool) |
虽然可以使用 Oracle Solaris Live Upgrade 将 UFS 根文件系统升级到 ZFS 根文件系统,但不能使用 Oracle Solaris Live Upgrade 升级非根或共享文件系统。
不能使用 lu 命令创建或迁移 ZFS 根文件系统。