Oracle Linux: Logical Volume Group Can Not Remove after Running shred Command
(Doc ID 2526770.1)
Last updated on AUGUST 27, 2021
Applies to:
Linux OS - Version Oracle Linux 6.7 to Oracle Linux 7.6 [Release OL6U7 to OL7U6]Linux x86-64
Symptoms
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
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |