Description

"LVM cannot stop/remove LV, cannot stop/delete dead RAID situation. Hi, I am having an issue with LVM and RAID in some failure cases: It seems that any operations on a LVM LV (lvchange, lvremove, etc..), require this LV's metadata to be readable. In case a LVM LV is setup ontop of a RAID 0, or a RAID 5 for instance, if two disks are lost from the RAID array, the array dies. Now that the array is dead, I would like to recreate a new RAID 0 or 5 using the remaining alive disks and some new ones. For this reason, I'd like to stop the previous dead RAID using mdadm. However, because the LVM LV does still exists, it seems to have a handle on the dead RAID, as shon below: # /opt/soma/bin/mdadm/mdadm --stop /dev/md/d0 raid manager: fail to stop array /dev/md/d0: Device or resource busy Perhaps a running process, mounted filesystem or active volume group?"

Preview

Tags

Users

  • @lystrata

Comments and Reviews