删除VG
卸載
[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/
總結
- 上一篇: my favorite moview
- 下一篇: VSCode自动添加分号并跳到下一行