Oracle Linux: Logical Volume Group Can Not Remove after Running shred Command
(Doc ID 2526770.1)
Last updated on APRIL 24, 2019
Applies to:Linux OS - Version Oracle Linux 6.7 to Oracle Linux 7.6 [Release OL6U7 to OL7U6]
The current issue tried to delete volume group by using lvremove, vgremove, pvremove command after executing shred command for physical volume as shown below but repeatedly failed.
[root@xxx ~] shred -vfz -n 3 /dev/sdd
[root@xxx ~] sum -r /dev/sdd
When the lvremove command is executed, you will get an error saying that the volume group can not be found.
[root@xxx ~]# lvremove /dev/VolGroupOracleArch/lvol0
Volume group "VolGroupOracleArch" not found
Cannot process volume group VolGroupOracleArch
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document