【发布时间】:2017-09-03 23:25:45
【问题描述】:
我的 T5440 Solaris10 机器上有一个备用磁盘,我想将其用于额外的 ZFS 文件系统
问题是该磁盘已安装在我原来的操作系统安装中 - 但我将它进行了实时升级并将“转移”的安装点“转移”到新的引导环境 (BE) 中
所以当我尝试在这个磁盘上创建一个 zpool 时 - Solaris 抱怨说它正在使用中......
如何让 c0t0d0 进入可以对其进行 newfs 或在其上创建 zpool 的状态?
root@solaris>zpool create -f spare_pool c0t0d0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c0t0d0s7 is in use for live upgrade /export/home.
Please see ludelete(1M).
root@solaris>
root@solaris>lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
new_zfs_BE yes yes yes no -
root@solaris>lufslist new_zfs_BE
boot environment name: new_zfs_BE
This boot environment is currently active.
This boot environment will be active on next system boot.
Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/zvol/dsk/rpool2/swap swap 34359738368 - -
rpool2/ROOT/new_zfs_BE zfs 5213962240 / -
/dev/dsk/c0t0d0s7 ufs 121010061312 /export/home -
rpool2 zfs 42872619520 /rpool2 -
【问题讨论】:
-
你只有一个BE?
new_zfs_BE?/export/home正在使用中吗?