[linux-lvm] pvmove obliterates filesystem (Opensuse 10.2, x86-64)
Alasdair G Kergon
agk at redhat.com
Wed Oct 17 01:28:58 UTC 2007
On Tue, Oct 16, 2007 at 11:27:42PM +0000, Brian Strand wrote:
> 2462 dual-port FC HBA, using qla2400 (no dm-multipath). Note: I had
> just completed a successful pvmove of another lv about 30 minutes prior
> to this incident.
> LVM version: 2.02.13 (2006-10-27)
> Library version: 1.02.12 (2006-10-13)
> Driver version: 4.7.0
> Linux somebox 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006
> x86_64 x86_64 x86_64 GNU/Linux
(need to check those versions are all compatible and kernel isn't missing
relevant patches)
> Creating switch-pvmove0
> device-mapper: create ioctl failed: Device or resource busy
That should *not* happen.
Are you sure the preceding pvmove completed correctly?
Is some version of udev enabled on dm devices that might be interfering?
> device-mapper: reload ioctl failed: Invalid argument
> Creating volume group backup "/etc/lvm/backup/switch" (seqno 250).
Need to check through the sequence of backups to see all the metadata
changes it actually made (probably need the ones in the on-disk metadata
area rather than just the /etc/lvm/backup ones).
> ABORTING: Segment progression failed.
> /dev/sdc: Moved: 60.0%
Message could be incorrect, need to check.
> Oct 9 22:33:21 somebox kernel: device-mapper: table: 253:13: linear:
> dm-linear: Device lookup failed
So it couldn't use that device (a common cause is a size error when wrong
device is used e.g. with software raid or partially-cloned devices).
Alasdair
--
agk at redhat.com
More information about the linux-lvm
mailing list