Bug#436960: pvmove does not clean up properly on error
Goswin Brederlow
brederlo at informatik.uni-tuebingen.de
Thu Aug 9 18:25:44 UTC 2007
Package: lvm2
Version: 2.02.06-4
Severity: important
File: pvmove
Hi,
I run into a problem with pvmove that seems to be a bug in the kernel:
http://www.redhat.com/archives/linux-lvm/2007-July/msg00037.html
But this isn't about that problem but rather about after:
mrvn at storage:~% sudo lvdisplay -m /dev/e/var
--- Logical volume ---
LV Name /dev/e/var
VG Name e
LV UUID LqoHJ9-yi1Q-oX5Q-cJWX-Qzfi-Z6Vp-N42zLA
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Segments ---
Logical extent 0 to 511:
Type linear
Logical volume pvmove0
Logical extents 0 to 511
mrvn at storage:~% sudo dmsetup table
e-var: 0 4194304 linear 253:10 0
e-pvmove0: 0 4194304 mirror core 1 1024 2 22:65 384 9:1 2097536
As you can see pvmove did setup the mirror device before it
failed. But it doesn't undo that. I did a 'pvmove --abort' manualy and
that seems to have undone the move but I would expect pvmove to do
that automatically.
MfG
Goswin
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.1-mrvn
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages lvm-common depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii modutils 2.4.27.0-6 Linux module utilities
Versions of packages lvm-common recommends:
ii logrotate 3.7.1-3 Log rotation utility
-- no debconf information
More information about the pkg-lvm-maintainers
mailing list