[Bug 178321] LVM snapshot creation fails
https://bugzilla.novell.com/show_bug.cgi?id=178321 ------- Comment #26 from jblunck@novell.com 2006-10-11 11:22 MST ------- The problem is that udev isn't able to differentiate between dm targets that aren't supposed to be opened by anything else than the lvm2 tools itself or not. When we are creating a snapshot, this is what we do: - creating vg-snapshot - clearing the start of vg-snapshot - removing vg-snapshot (1) - creating vg-origin-real - creating vg-snapshot-cow - creating vg-snapshot - suspending vg-origin and vg-origin-real - reload tables - resuming vg-origin-real, vg-snapshot-cow, vg-snapshot and vg-origin (2) At the point (1) udev already run vol_id on vg-snapshot. This LV is only created to delete the exception table of the snapshot to be created. So lvcreate tries to remove the still open vg-snapshot. What we need to do is to tell udev that it shouldn't open the intermediate vg-snapshot target. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com