lkml.org 
[lkml]   [2006]   [Apr]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 20 Apr 2006 18:37:17 +0100
FromAlasdair G Kergon <>
SubjectRe: [PROBLEM] Device-mapper snapshot metadata userspace breakage
On Thu, Apr 20, 2006 at 12:53:35PM +0300, Pekka J Enberg wrote:
> The problem is that lvremove program hangs in 'D' state forever with the 
> above commit for snapshots. I have included little more detail below.

The program might hang, but the system shouldn't now: run 'dmsetup
info -c', look for devices with names ending in '-cow' that are in the
suspended state and run 'dmsetup resume' on them.

> lvm2  2.01.04-5
> device-mapper 1.01.00-4

Upgrade!

Without the set of patches that included the one you identified,
whenever you ran 'lvcreate -s' the kernel was unable to give you any
guarantee the operation would succeed.  In the worst failure mode the
system would hang or oops, and the fix required this subtle interface
change.

Alasdair
-- 
agk@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-20 19:39    [from the cache]
©2003-2008