【问题标题】:how do I remove a filesystem from a Solaris liveupgrade BE如何从 Solaris liveupgrade BE 中删除文件系统
【发布时间】: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 正在使用中吗?

标签: solaris zfs zones


【解决方案1】:

在您的情况下,/export/home 已经从 rpool2 挂载,然后再次尝试从 /dev/dsk/c0t0d0s7 尝试,因此您将无法删除 BE 或修补 BE。

要从此问题中恢复,请手动编辑 /etc/lu/ICF.* 文件并删除以下文件。

/dev/dsk/c0t0d0s7 ufs 121010061312 /export/home -

然后尝试创建您的池。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-12-03
    • 2015-05-02
    • 1970-01-01
    • 1970-01-01
    • 2022-01-24
    • 2017-08-20
    • 2016-01-09
    • 1970-01-01
    相关资源
    最近更新 更多