On Sun, Jan 22, 2006 at 09:33:11PM -0800, Andrew Morton wrote:
> If people are using older tools and they run with this patch, what will
> happen to them?
The problem I have noticed is that in certain configurations LVM2 commands
to deactivate a snapshot may fail part-way through and need to be completed
using dmsetup.
Deactivating snapshots before removing them seems to avoid that problem,
but it's not always feasible.
Example:
lvol1 is a snapshot of lvol0. Both are active.
You run 'lvremove vgg/lvol1' but the command hangs.
Workaround: from another shell run 'dmsetup resume vgg-lvol1-cow' and
the command then completes.
Having more than one snapshot of the same device can also lead to problems.
But without this patch and the updated LVM2 tools, whenever you run
'lvcreate -s' to create a snapshot you're taking the risk that the command
will hang irrecoverably (leading you to want to reboot the machine even if
it didn't panic).
Alasdair
--
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]