cd /dev/vg2
umount vol2
[root@NAS dev]# vgchange -a n vg2
0 logical volume(s) in volume group "vg2" now active
[root@NAS dev]# vgremove vg2
Do you really want to remove volume group "vg2" containing 1 logical volumes? [y/n]: y
Logical volume "vol2" successfully removed
Volume group "vg2" successfully removed
Aucun commentaire:
Enregistrer un commentaire