System with RAID10 type LVM volumes fails to boot.
Issue
- System hangs / crashes on boot after upgrading to
kernel-3.10.0-862.6.3.el7and having RAID10 type LVM volumes. - Creating RAID10 type LVM volumes does not work. Actions on such LVM volumes like creating filesystem crashes the system OR gives error similar to
bio too big device dm-38 (70144 > 65535).
# lvcreate --type raid10 -m 1 -L 1G --stripesize=8 --name lv_test testvg
/dev/testvg/lv_test1: write failed after 0 of 4096 at 0: Input/output error
Logical volume "lv_test1" created.
Oct 23 18:40:22 test75 journal: No devices in use, exit
Oct 23 18:42:02 test75 multipathd: dm-19: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-19: devmap not registered, can't remove
Oct 23 18:42:02 test75 multipathd: dm-20: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-20: devmap not registered, can't remove
Oct 23 18:42:02 test75 multipathd: dm-17: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-17: devmap not registered, can't remove
Oct 23 18:42:02 test75 multipathd: dm-18: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-18: devmap not registered, can't remove
Oct 23 18:42:02 test75 multipathd: dm-19: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-20: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-17: remove map (uevent)
Oct 23 18:42:02 test75 multipathd: dm-18: remove map (uevent)
Oct 23 18:42:02 test75 kernel: device-mapper: raid: Superblocks created for new raid set
Oct 23 18:42:02 test75 kernel: md/raid10:mdX: not clean -- starting background reconstruction
Oct 23 18:42:02 test75 kernel: md/raid10:mdX: active with 4 out of 4 devices
Oct 23 18:42:02 test75 kernel: mdX: bitmap file is out of date, doing full recovery
Oct 23 18:42:02 test75 lvm[983]: Monitoring RAID device testvg-lv_test for events.
Oct 23 18:42:02 test75 kernel: md: resync of RAID array mdX
Oct 23 18:42:03 test75 kernel: attempt to access beyond end of device
Oct 23 18:42:03 test75 kernel: dm-18: rw=17, want=7901936, limit=1048576
Oct 23 18:42:03 test75 kernel: attempt to access beyond end of device
Oct 23 18:42:03 test75 kernel: dm-20: rw=17, want=7901936, limit=1048576
Oct 23 18:42:03 test75 lvm[983]: WARNING: Device #0 of raid10 array, testvg-lv_test, has failed.
Oct 23 18:42:03 test75 lvm[983]: WARNING: waiting for resynchronization to finish before initiating repair on RAID device testvg-lv_test.
Oct 23 18:42:03 test75 kernel: md/raid10:mdX: Disk failure on dm-18, disabling device.#012md/raid10:mdX: Operation continuing on 3 devices.
Oct 23 18:42:03 test75 kernel: md: mdX: resync interrupted.
Oct 23 18:42:03 test75 kernel: md: resync of RAID array mdX
Oct 23 18:42:11 test75 kernel: md: mdX: resync done.
Oct 23 18:42:11 test75 lvm[983]: WARNING: Disabling lvmetad cache for repair command.
Oct 23 18:42:11 test75 lvm[983]: WARNING: Not using lvmetad because of repair.
Oct 23 18:42:12 test75 lvm[983]: Use 'lvconvert --repair testvg/lv_test' to replace failed device.
Environment
- Red Hat Enterprise Linux 7
- kernel-3.10.0-862.6.3.el7 or later
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.
