[[email protected] ~]# umount /disklvm
隨後,你需要使用如下的 df 系統再次列出所有掛載的檔案系統資訊:
[[email protected] ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 8.7G 7.0G 1.3G 85% /
......
/dev/md0 1004M 18M 936M 2% /oradata
[[email protected] ~]# lvremove /dev/scvg/lamplv
Do you really want to remove active logical volume "lamplv"? [y/n]:y
Logical volume "lamplv" successfully removed
[[email protected] ~]# vgdisplay scvg
---Volume group ---
VG Name scvg
......
Cur LV 0
Open LV 0
Max PV 0
......
[[email protected] ~]# vgremove scvg
Volume group "scvg" successfully removed
[[email protected] ~]# vgdisplay scvg
Volume group "scvg" not found
[[email protected] ~]# pvremove /dev/sdb5 /dev/sdb6 /dev/sdb7
Labels on physical volume "/dev/sdb5" successfully wiped
Labels on physical volume "/dev/sdb6" successfully wiped
Labels on physical votume "/dev/sdb7" successfuily wiped