互联网服务硬件维护

请问如何删除rootvg中的hdisk1

我有一台B50,有两个硬盘,root@ibmb50:/>lspvhdisk0          000d871d0005dd01                    rootvg          activehdisk1&...显示全部
我有一台B50,有两个硬盘,
root@ibmb50:/>lspv
hdisk0          000d871d0005dd01                    rootvg          active
hdisk1          000d871d0014be46                    rootvg          active

我想删除rootvg中的hdisk1,但failed,请问各位大大该如何解决。
root@ibmb50:/>smit reducevg

Remove a Physical Volume from a Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                        [Entry Fields]
* VOLUME GROUP name                                   rootvg
* PHYSICAL VOLUME names                              [hdisk1]                +
  FORCE deallocation of all partitions on             no                     +
    this physical volume?

Command: failed        stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
0516-016 ldeletepv: Cannot delete physical volume with allocated
        partitions. Use either migratepv to move the partitions or
        reducevg with the -d option to delete the partitions.
0516-884 reducevg: Unable to remove physical volume hdisk1.
----------------------------------------------------------------------
root@ibmb50:/>reducevg -d rootvg hdisk1
0516-914 rmlv: Warning, all data belonging to logical volume
        hd9var on physical volume hdisk1 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
0516-1008 rmlv: Logical volume hd9var 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.
root@ibmb50:/>lspv -l hdisk1
hdisk1:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd3                   93    93    00..00..09..84..00    /tmp
hd9var                1     1     00..00..01..00..00    /var
hd1                   8     8     00..05..00..03..00    /home收起
参与7

查看其它 6 个回答seawinnana的回答

seawinnanaseawinnana系统工程师MBI
谢谢。。。。
互联网服务 · 2013-09-12
浏览1211

回答者

seawinnana
系统工程师MBI

seawinnana 最近回答过的问题

回答状态

  • 发布时间:2013-09-12
  • 关注会员:0 人
  • 回答浏览:1211
  • X社区推广