Public bug reported:

Binary package hint: lvm2

LVM cannot create a snapshot of a LUKS encrypted volume.

To reproduce:

  1.  Install Ubuntu 10.04 Lucid Lynx to a LUKS root using the alternate 
installer.
  2.  Run:  lvcreate --snapshot /dev/vg00/root --size 2G --name backup --verbose

This hangs the system.  Verbose lvcreate messages are normal.  The last
line printed is:

  Suspending vg00-root (252:1) with filesystem sync with device flush

The console error is:

  [360:540149] INFO: task flush-252:1:486 blocked for more than 120 seconds.
  [360:609736] INFO: task lvcreate:1320 blocked for more than 120 seconds.

These console messages periodically repeat, but lvcreate never returns
and the system becomes unresponsive and requires a hard reset.

The snapshot volume is created and is visible after boot, but it seems
to be corrupt:

  # mount /dev/vg00/backup /mnt
  mount: unknown filesystem type 'DM_snapshot_cow'

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: crash cryptsetup hang luks lvcreate lvm snapshot

-- 
creating a LUKS snapshot hangs the system
https://bugs.launchpad.net/bugs/615911
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to