Error "New device injected into existing array without 'rebuild' parameter specified" while replacing a failed PV in LVM RAID 5
Issue
- After replacing a missing PV in a RAID 5 device, you received the following errors while trying to activate the LV:
# lvchange -ay /dev/test/lv_test
device-mapper: reload ioctl on failed: Invalid argument
- In /var/log/messages the errors were:
kernel: device-mapper: raid: New device injected into existing array without 'rebuild' parameter specified
kernel: device-mapper: table: 253:6: raid: Unable to assemble array: Invalid superblocks
kernel: device-mapper: ioctl: error adding target to table
Environment
Red Hat Enterprise Linux 6.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
