I have been bitten by this.

# pvmove -v /dev/sdc1

    Wiping cache of LVM-capable devices
    Finding volume group "Ext"
    Archiving volume group "Ext" metadata (seqno 20).
    Creating logical volume pvmove0
    Moving 0 extents of logical volume Ext/lvol0
    Moving 0 extents of logical volume Ext/baks
    Moving 1600 extents of logical volume Ext/data
    Found volume group "Ext"
    Updating volume group metadata
    Creating volume group backup "/etc/lvm/backup/Ext" (seqno 21).
    Found volume group "Ext"
    Found volume group "Ext"
    Suspending Ext-data (254:6)
    Found volume group "Ext"
    Creating Ext-pvmove0
    Loading Ext-pvmove0 table
  device-mapper: reload ioctl failed: Invalid argument
  ABORTING: Temporary mirror activation failed.  Run pvmove --abort.
    Found volume group "Ext"
    Loading Ext-pvmove0 table
  device-mapper: reload ioctl failed: Invalid argument
    Loading Ext-data table
  device-mapper: reload ioctl failed: Invalid argument

pvmove --abort hangs, but I was able to recover without a reboot using

# dmsetup remove Ext-pvmove0

and

# dmsetup resume Ext-data

I believe this is a bug in version 1.02.06 of libdevmapper1.02 and would
be fixed by upgrade to >=1.02.07.

See Debian bugs #383418 and #409435 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383418
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409435

-- 
Edgy: pvmove (LVM) failes with device_mapper ioctl errors
https://launchpad.net/bugs/65813

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to