Skip to contentSkip to conversation

LVM2 pvmove

linux-lvm Toad 2 participants 2 messages Dec 18, 2003 – Dec 19, 2003

lore
Share & tools
lore

Toad

author
#0 lore raw

Having major problems trying to use pvmove on LVM2. I was told that pvmove was fixed with LVM2 by the person who wrote it and put out 2.0.08. Apparently it isn't. This is a formerly LVM1 format system recently upgraded via vgconvert.

root@amphibian:~# pvmove /dev/ide/host0/bus1/target1/lun0/disc
device-mapper: error adding target to table
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'vg--big-pvmove0'.
  ABORTING: Temporary mirror activation failed.
device-mapper: device 254:034 too small for target
device-mapper: dm-stripe: Couldn't parse stripe destination
device-mapper: error adding target to table
  device-mapper ioctl cmd 9 failed: No such device or address
  Couldn't load device 'vg--big-usr--src--cvs'.
device-mapper: device 254:034 too small for target
device-mapper: dm-stripe: Couldn't parse stripe destination
device-mapper: error adding target to table
  device-mapper ioctl cmd 9 failed: No such device or address
  Couldn't load device 'vg--big-var--log--freenet_stable'.

I have seen two reports of similar problems recently, none of which were successfully concluded. Is it likely that this will be fixed? If not, I doubt that LVM2 will be regarded as production quality by anyone for a long time to come... and I'll have to manually mess around with recreating every last LV... :(

Signature · 3 lines
Matthew J Toseland - [email protected]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
#1 lore raw
Quoted 5 lines · Toad
root@amphibian:~# pvmove /dev/ide/host0/bus1/target1/lun0/disc
device-mapper: error adding target to table
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'vg--big-pvmove0'.
  ABORTING: Temporary mirror activation failed.

The most common cause of this is not having the device-mapper mirror target installed. Are you using a 2.6 kernel that doesn't include this?

Alasdair

Signature · 1 line
[email protected]