卸载
[root@ORCL ~]# umount /u01
移除逻辑卷
[root@ORCL ~]# lvremove /dev/orcl/orcl
确认卷组是否还有活动的逻辑卷
[root@ORCL ~]# vgchange -a n orcl
0 logical volume(s) in volume group "orcl" now active
移除卷组
[root@ORCL ~]# vgremove orcl
Volume group "orcl" successfully removed
[root@ORCL ~]# umount /u01
移除逻辑卷
[root@ORCL ~]# lvremove /dev/orcl/orcl
确认卷组是否还有活动的逻辑卷
[root@ORCL ~]# vgchange -a n orcl
0 logical volume(s) in volume group "orcl" now active
移除卷组
[root@ORCL ~]# vgremove orcl
Volume group "orcl" successfully removed
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29424472/viewspace-1269255/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29424472/viewspace-1269255/