Chinaunix首页 | 论坛 | 博客
  • 博客访问: 670464
  • 博文数量: 168
  • 博客积分: 2928
  • 博客等级: 中校
  • 技术积分: 1904
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-04 09:56
文章分类

全部博文(168)

文章存档

2010年(168)

我的朋友

分类:

2010-01-04 10:34:48

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 step2 from the volume group
# lvremove /dev/vgxx/lvolY
5,Determine if multiple physical volumes are associated with 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
阅读(864) | 评论(0) | 转发(0) |
0

上一篇:逻辑卷管理

下一篇:Add an LVM Disk and etc

给主人留下些什么吧!~~