Bug#637104: Can't reproduce #637104 (lvm2: lvrename fails to rename COW partition when renaming snapshot)
Axel Beckert
abe at debian.org
Wed Aug 10 15:25:41 UTC 2011
Hi,
JFTR: I was experimenting with such stuff, too, today and couldn't
reproduce this issue with these commands on Squeeze amd64:
502 lvcreate -L 128M -n foobar vg0
503 mkfs.ext4 /dev/vg0/foobar
504 mount /dev/vg0/foobar /mnt/tmp/
505 cd /mnt/tmp/
506 ls -l
507 echo foo > bar
508 cd
509 umount /mnt/tmp/
510 lvcreate -L 64M -n foobar-snapshot -s /dev/vg0/foobar
511 lvs
512 mount /dev/vg0/foobar /mnt/tmp/
513 lvs
514 cd /mnt/tmp/
516 lvs
517 ls -l
518 echo fnord > bar
519 echo foobar > bla
520 lvs
521 cd -
522 umount /mnt/tmp/
523 mount /dev/vg0/foobar-snapshot /mnt/tmp/
524 ls -l /mnt/tmp/
525 umount /mnt/tmp/
527 lvs
528 lvresize -L 32M /dev/vg0/foobar-snapshot
529 lvs
530 fsck /dev/vg0/foobar-snapshot
531 fsck -f -C0 /dev/vg0/foobar-snapshot
532 lvs
533 mount /dev/vg0/foobar-snapshot /mnt/tmp/
535 ls -l /mnt/tmp/
536 umount /mnt/tmp/
537 lvs
539 lvrename vg0 foobar blafasel
540 lvs
541 lvrename vg0 foobar-snapshot blafasel-snapshot
542 lvs
543 lvrename vg0 blafasel foo
The only things in the dmesg output:
Aug 10 17:07:40 acromantula kernel: [2940774.130094] EXT4-fs (dm-15): mounted filesystem with ordered data mode. Opts: (null)
Aug 10 17:10:01 acromantula kernel: [2940914.983604] EXT4-fs (dm-15): mounted filesystem with ordered data mode. Opts: (null)
Aug 10 17:11:14 acromantula kernel: [2940987.932204] EXT4-fs (dm-16): mounted filesystem with ordered data mode. Opts: (null)
Aug 10 17:14:44 acromantula kernel: [2941198.047796] EXT4-fs (dm-16): mounted filesystem with ordered data mode. Opts: (null)
Looks fine for me.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
More information about the pkg-lvm-maintainers
mailing list