My Oracle Support Banner

Oracle Linux: Logical Volume Group Can Not Remove after Running shred Command (Doc ID 2526770.1)

Last updated on MAY 24, 2020

Applies to:

Linux OS - Version Oracle Linux 6.7 to Oracle Linux 7.6 [Release OL6U7 to OL7U6]
Linux x86-64


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
28911 1073741824

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.