LVM Frozen After Deleting Block Device
-
I tried that, it removed the device and I rebooted but lvs is still hanging
-
I don't suppose that this is of any help?
http://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/troubleshooting.html
-
I saw that link too but there is no such file.
-
What distro are you using?
-
-
No additional ideas? I'm kind of stumped.
-
What about manually deleting everything bad out of /etc/lvm/cache/.cache
Don't worry, if you mess up that file it regenerates itself.
-
If you see UUID entries in the .cache file and don't know what they are, you can do two things:
Look up all UUIDs: ls -l /dev/disk/by-uuid
Or look up the UUID of a device as in this example: blkid /dev/sda1
-
Sweet, that worked!
Need to:
- Use LVM tools to remove the settings.
- Use dmsetup to remove the underlying devices.
- Manually delete the leftover lines in the cache.
No reboot even needed. Thanks!
-
Awesome. Glad that that worked.