Package: lvm2 Version: 2.02.06-2 Severity: critical Justification: breaks the whole system
I have twice now attempted a pvmove in order to clear one of my disks. The same failure has occured twice. once pvmove has failed, any subsequent attempt at access to logical volumes involved in the move in the volume group effected hangs the process and htop shows it to be in interruptable sleep mode. As a result it cannot be killed. This includes a shutdown hanging the machine, which ultimately means a hard reset. Upon reboot, the effected lv(s) fail to mount, but the boot process goes ahead anyway, leaving the system writing new data into the parent directory mount point, ultimately making recovery of all data a very tricky process. Effectively the only approach is to boot into single user mode and then do a pvmove --abort Here is the output from the pvmove with the first act that causes the problem. In my case the three lv's that have extents to move are the ones that fail to mount on re-boot. Note also the lvdisplay following this failure has hung, as has a pvmove --abort from another terminal. [EMAIL PROTECTED] ~# pvmove -v -i 20 --background /dev/hdb1 Wiping cache of LVM-capable devices Finding volume group "vg" Archiving volume group "vg" metadata (seqno 52). Creating logical volume pvmove0 Moving 768 extents of logical volume vg/postgres Moving 63 extents of logical volume vg/fileshare Moving 476 extents of logical volume vg/alan Moving 0 extents of logical volume vg/www Moving 0 extents of logical volume vg/webapps Moving 0 extents of logical volume vg/git Moving 0 extents of logical volume vg/photos Moving 0 extents of logical volume vg/music Found volume group "vg" Found volume group "vg" Found volume group "vg" Updating volume group metadata Creating volume group backup "/etc/lvm/backup/vg" (seqno 53). Found volume group "vg" Found volume group "vg" Suspending vg-postgres (254:4) Found volume group "vg" Found volume group "vg" Suspending vg-fileshare (254:5) Found volume group "vg" Found volume group "vg" Suspending vg-alan (254:6) Found volume group "vg" Creating vg-pvmove0 Loading vg-pvmove0 table device-mapper: reload ioctl failed: Invalid argument ABORTING: Temporary mirror activation failed. Run pvmove --abort. Found volume group "vg" Loading vg-pvmove0 table device-mapper: reload ioctl failed: Invalid argument Loading vg-postgres table device-mapper: reload ioctl failed: Invalid argument Found volume group "vg" Loading vg-pvmove0 table device-mapper: reload ioctl failed: Invalid argument Loading vg-fileshare table device-mapper: reload ioctl failed: Invalid argument Found volume group "vg" Loading vg-pvmove0 table device-mapper: reload ioctl failed: Invalid argument Loading vg-alan table device-mapper: reload ioctl failed: Invalid argument [EMAIL PROTECTED] ~# lvdisplay vg -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages lvm2 depends on: ii debconf [debconf-2.0] 1.5.3 Debian configuration management sy ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libdevmapper1.02 2:1.02.07-1 The Linux Kernel Device Mapper use ii libncurses5 5.5-2 Shared libraries for terminal hand ii libreadline5 5.1-7 GNU readline and history libraries ii libselinux1 1.30-1 SELinux shared libraries ii libsepol1 1.12-1 Security Enhanced Linux policy lib ii lvm-common 1.5.20 The Logical Volume Manager for Lin lvm2 recommends no packages. -- debconf information: lvm2/snapshots: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]