Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5701683
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-07-11 16:14:42

1,Backup all user data in the volume to be removed(use fbackup, cpio or tar backup utilities as appropriate)
 
2,Determine the names of the logical volumes residing in the volume groups to be removed
# lvdisplay /dev/vgxx/lvol*
 
3,Unmount all logical volumes in the volume group to be removed
# cd /; umount /dev/vgxx/lvol*
 
4,Remove the logical volumes found in step 2 from the volume group.
# lvremove /dev/vgxx/lvolx
 
5,Determine if multiple physical volumes are assocaited with the volume group to be removed. This is indicated by the number of block device files listed for the volume group to be removed
# strings /etc/lvmtab
 
6,If more than one physical volume,REMOVE ALL BUT ONE of the physical volumes using the vgreduce command
# vgreduce /dev/vgxx /dev/dsk/cxtxdx
 
7,Now, remove the volume group
# vgremove /dev/vgxx
阅读(2497) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~