Ticket #508 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Restoration issue with udev and dm multipath

Reported by: bruno Owned by: bruno
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

comment:1 Changed 3 years ago by bruno

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 3 years ago by bruno

  • Status changed from new to assigned
  • Milestone changed from 3.0.0 to 3.0.1

comment:3 Changed 3 years ago by bruno

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

comment:4 Changed 3 years ago by bruno

  • Milestone changed from 3.0.1 to 3.0.2

comment:5 Changed 3 years ago by bruno

  • Milestone changed from 3.0.2 to 3.0.3

comment:6 Changed 2 years ago by bruno

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.