系统集成故障诊断aix 5l

难题--网上现有的方法都没法解决 (reducevg )

大家好,这边rootvg镜像,发现hdisk1 stale partitions 8 于是就准备重做镜像。# lspvhdisk0          00c61aeff359b84a                    rootvg   &nb...显示全部
大家好,这边rootvg镜像,发现hdisk1 stale partitions 8 于是就准备重做镜像。

# lspv
hdisk0          00c61aeff359b84a                    rootvg          active
hdisk1          00c61aeff3e97a3f                    rootvg          active
# lspv -l hdisk1
hdisk1:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd6                     2    2     00..04..00..00..00    N/A
hd1                     1   1     00..00..01..00..00  /home
hd3                     1  1       00..00..01..00..00  /tmp
#umirrorvg  rootvg hdisk1
#chpv -c hdisk1
# reducevg -d rootvg hdisk1
0516-914 rmlv: Warning, all data belonging to logical volume
        hd6 on physical volume hdisk1 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
0516-1008 rmlv: Logical volume hd6 must be closed.  If the logical
        volume contains a filesystem, the umount command will close
        the LV device.
0516-884 reducevg: Unable to remove physical volume hdisk1收起
参与15

查看其它 13 个回答janniuniu的回答

janniuniujanniuniu软件开发工程师SS
migratepv 用这个命令先迁移占用的lv 再reducevg
互联网服务 · 2012-12-29
浏览1700

回答者

janniuniu
软件开发工程师SS
擅长领域: 服务器系统管理

janniuniu 最近回答过的问题

回答状态

  • 发布时间:2012-12-29
  • 关注会员:1 人
  • 回答浏览:1700
  • X社区推广