Opened 9 years ago

Closed 8 years ago

#508 closed defect (fixed)

Restoration issue with udev and dm multipath

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: normal Milestone: 3.0.3
Component: mondo Version: 2.2.9.7
Severity: normal Keywords:
Cc:

Description

There is an issue with the udev daemon dying before creating the /dev/dm-* files.

starting udevd -d + udevtrigger creates the /dev/dm-* devices

But restoring afterwards removes /dev/dm-[1-2] to create instead /dev/dm-0p[1-2]

Changing /etc/lvm/lvm.conf on the original server may be an option (avoid using /dev/dm-*)

Is that file there at restore time ?

Changing /tmp/i-want-my-lvm at restore time (pre-script is also an option).

Making udev more robust seems also needed.

Change History (6)

comment:1 Changed 9 years ago by Bruno Cornec

Currently a pre script like this works around the issue:

perl -pi -e 's|/dm-2|/mapper/mpath0p2|' /tmp/i-want-my-lvm
perl -pi -e 's|/dev/sda|/dev/mapper/mpath0|' /tmp/mondo-restore.cfg

comment:2 Changed 9 years ago by Bruno Cornec

Milestone: 3.0.03.0.1
Status: newassigned

comment:3 Changed 9 years ago by Bruno Cornec

This one would be worth checking again with latest 3.0.1 beta.

comment:4 Changed 9 years ago by Bruno Cornec

Milestone: 3.0.13.0.2

comment:5 Changed 8 years ago by Bruno Cornec

Milestone: 3.0.23.0.3

comment:6 Changed 8 years ago by Bruno Cornec

Resolution: fixed
Status: assignedclosed

This should now be solved by patches brought to solve #611 and #623

Note: See TracTickets for help on using tickets.