Bug#419209: lvm2: Hangs during snapshot creation
Arthur de Jong
adejong at debian.org
Fri Mar 6 13:19:45 UTC 2009
On Thu, 2009-03-05 at 09:58 +0100, Klaus Ethgen wrote:
> Well, I did also some tests and wasn't able to trigger that bug on my
> laptop too. But I also have the lvm direct on the hard disk. On my
> server there is a md device underlying. So I suggest the problem is
> just with a lvm on top of a md device (which you see not that often on
> desktop systems).
FWIW, I have a similar setup and cannot reproduce this:
# uname -a
Linux bobo 2.6.26-1-amd64 #1 SMP Sat Jan 10 19:55:48 UTC 2009 x86_64 GNU/Linux
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sun Apr 29 20:01:14 2007
Raid Level : raid1
Array Size : 58596992 (55.88 GiB 60.00 GB)
Used Dev Size : 58596992 (55.88 GiB 60.00 GB)
[...]
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
# pvs
PV VG Fmt Attr PSize PFree
/dev/md0 main lvm2 a- 55.88G 9.88G
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
home main -wi-ao 30.00G
foo main -wi-ao 6.00G
root main -wi-ao 2.00G
squid main -wi-ao 2.00G
srv main -wi-ao 2.00G
swap main -wi-ao 2.00G
tmp main -wi-ao 512.00M
var main -wi-ao 1.50G
# dmsetup table
main-squid: 0 4194304 linear 9:0 75497856
main-swap: 0 4194304 linear 9:0 7340416
main-root: 0 4194304 linear 9:0 384
main-foo: 0 8388608 linear 9:0 79692160
main-foo: 8388608 4194304 linear 9:0 104857984
main-tmp: 0 1048576 linear 9:0 11534720
main-var: 0 3145728 linear 9:0 4194688
main-srv: 0 4194304 linear 9:0 109052288
main-home: 0 62914560 linear 9:0 12583296
# lvcreate -s --size 2G -n foobar /dev/main/srv
Logical volume "foobar" created
--
-- arthur - adejong at debian.org - http://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20090306/a8b5be74/attachment.pgp
More information about the pkg-lvm-maintainers
mailing list