- 论坛徽章:
- 0
|
1. lsvg datavg\r\n看里面有那些hdisk\r\nlsvg -p datavg\r\ndatavg:\r\nPV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION\r\nhdisk4 active 546 57 12..00..00..00..45\r\nhdisk1 active 546 0 00..00..00..00..00\r\nhdisk2 active 2187 2187 438..437..437..437..438\r\n现在我们想踢出hdisk2\r\n#reducevg -df datavg hdisk2\r\n\r\n 提示:Logical volume paging01 must be closed. If the logical volume\r\n contains a filesystem, the umount command will close the LV device.\r\n但通过smitty rmps又看不到paging01,所以无法删除.\r\n现在只能做lv的迁移.\r\n#migratepv -l paging01 hdisk2 hdisk4\r\n迁移成功.\r\n#reducevg -df datavg hdisk2\r\n踢出hdisk2成功.\r\n#lsvg -p datavgdatavg:\r\nPV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION\r\nhdisk4 active 546 57 12..00..00..00..45\r\nhdisk1 active 546 0 00..00..00..00..00\n\n[ 本帖最后由 lwlava 于 2006-5-19 18:01 编辑 ] |
|