Comment 13 for bug 1540401

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-02-04 08:07 EDT-------
All fixed.

(In reply to comment #37)
> Testing the v1 test packages from:
> http://ausgsa.ibm.com/~mauricfo/public/bugs/bz135869/v1/

> It didn't work; getting errors from partx:
> '/usr/bin/partx -d /dev/sdaa'(err) 'partx: specified range <1:0> does not
> make sense'
>
> I'll try a few more changes.

Fixed by specifying a partition range with "kpartx -d --nr 1-1024". e.g.,
# sed 's/partx -d/& --nr 1-1024/' -i /lib/udev/rules.d/12-dm-mpath-lvm.rules

Also had to make sure the device with LVM (/dev/sdp) was added into /etc/multipath/wwids,
as it was never multipathed (due to LVM locking that path), it was never added.
(wondering why it wasn't copied from the installation.. perhaps a problem w/ LVM/multipath on installer too)

With those 2 fixes, the system boots correctly.
I'll build v2 packages.

root@biglp1:~# mount | grep /boot
/dev/mapper/mpath0-part2 on /boot type ext2 (rw)

root@biglp1:~# mount | grep '/ '
/dev/mapper/biglp1--vg-root on / type ext4 (rw,errors=remount-ro)

root@biglp1:~# lvm pvdisplay | grep Name
PV Name /dev/mapper/mpath0-part3
VG Name biglp1-vg