Hot answers tagged lvm
I got into similar situation, but removing of LV was blocked, because I was using mount -o bind. The article below helped a lot, using lsof with major/minor numbers of LV showed process holding opened LV, in my case smbd. Than just simply cat /proc/mounts | grep LV_name led me to conclusion, why lvremove or dmsetup remove refuse to get a rid of unmounted ...
I had the same problem and finally solved The problem seems to be in update-initramfs that doesn't generate the initrd properly. "evms_activate not found" means that the /sbin/evms_activate file is not created inside the initrd file by update-initramfs So, my workaround consists in unpacking the not working initrd, and copy the evms_activate executable ...
The meaning of the o in the output of lvs is described in its manpage, under the lv_attrs attributes section: 6 device (o)pen Basically this means the device has been mounted.
A bit confused here - is it mdadm raid or lvm raid? In the question you mention lvm raid, yet keep trying to use mdadm raid. for lvm - first use pvscan -u possibly pvscan -a --cache /dev/sdc /dev/sdd would be enough to recreate your device. if not, use vgchange -ay VolGroup00 or vgcfgrestore VolGroup00 The other possibility is that you used ...
According to the docs, busybox 1.12.1 has vi. Anyway, here's your sed regex: sed -i "s/filter\ \=\ \[\ \"a\/loop2\/\",\ \"r\/\.\*\/\"\ \]/filter = [ \"a\/.*\/\" ]/" /etc/lvm/lvm.conf
Only top voted, non community-wiki answers of a minimum length are eligible