2010-06-08 22:01:17 |
Jeffrey Baker |
description |
Binary package hint: lvm2
lvm2 2.02.39-0ubuntu11 on Lucid. pvmove sometimes issues a spurious error message at the end of a successful move. To wit:
# pvmove -i 60 -v /dev/sde1
Finding volume group "homedirs"
Archiving volume group "homedirs" metadata (seqno 17).
Creating logical volume pvmove0
Moving 25599 extents of logical volume homedirs/homedirs_lv
Found volume group "homedirs"
Updating volume group metadata
Creating volume group backup "/etc/lvm/backup/homedirs" (seqno 18).
Found volume group "homedirs"
Found volume group "homedirs"
Suspending homedirs-homedirs_lv (254:1) with device flush
Found volume group "homedirs"
Creating homedirs-pvmove0
Loading homedirs-pvmove0 table
Resuming homedirs-pvmove0 (254:2)
Found volume group "homedirs"
Loading homedirs-pvmove0 table
Suppressed homedirs-pvmove0 identical table reload.
Loading homedirs-homedirs_lv table
Resuming homedirs-homedirs_lv (254:1)
Checking progress every 60 seconds
/dev/sde1: Moved: 1.4%
[... time passes ...]
/dev/sde1: Moved: 99.6%
ABORTING: Can't find mirror LV in homedirs for /dev/sde1
# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb1 lvm2 -- 100.00G 100.00G
/dev/sdc1 lvm2 -- 100.00G 100.00G
/dev/sdd1 lvm2 -- 100.00G 100.00G
/dev/sde1 homedirs lvm2 a- 100.00G 100.00G
/dev/sdf1 homedirs lvm2 a- 100.00G 0
/dev/sdq1 homedirs lvm2 a- 499.99G 100.01G
# vgreduce -a homedirs
Removed "/dev/sde1" from volume group "homedirs"
Physical volume "/dev/sdf1" still in use
Physical volume "/dev/sdq1" still in use
Despite the scary-looking abort message, the source PV is 100% free and can be removed from the VG. |
Binary package hint: lvm2
lvm2 2.02.39-0ubuntu11 on Karmic. pvmove sometimes issues a spurious error message at the end of a successful move. To wit:
# pvmove -i 60 -v /dev/sde1
Finding volume group "homedirs"
Archiving volume group "homedirs" metadata (seqno 17).
Creating logical volume pvmove0
Moving 25599 extents of logical volume homedirs/homedirs_lv
Found volume group "homedirs"
Updating volume group metadata
Creating volume group backup "/etc/lvm/backup/homedirs" (seqno 18).
Found volume group "homedirs"
Found volume group "homedirs"
Suspending homedirs-homedirs_lv (254:1) with device flush
Found volume group "homedirs"
Creating homedirs-pvmove0
Loading homedirs-pvmove0 table
Resuming homedirs-pvmove0 (254:2)
Found volume group "homedirs"
Loading homedirs-pvmove0 table
Suppressed homedirs-pvmove0 identical table reload.
Loading homedirs-homedirs_lv table
Resuming homedirs-homedirs_lv (254:1)
Checking progress every 60 seconds
/dev/sde1: Moved: 1.4%
[... time passes ...]
/dev/sde1: Moved: 99.6%
ABORTING: Can't find mirror LV in homedirs for /dev/sde1
# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb1 lvm2 -- 100.00G 100.00G
/dev/sdc1 lvm2 -- 100.00G 100.00G
/dev/sdd1 lvm2 -- 100.00G 100.00G
/dev/sde1 homedirs lvm2 a- 100.00G 100.00G
/dev/sdf1 homedirs lvm2 a- 100.00G 0
/dev/sdq1 homedirs lvm2 a- 499.99G 100.01G
# vgreduce -a homedirs
Removed "/dev/sde1" from volume group "homedirs"
Physical volume "/dev/sdf1" still in use
Physical volume "/dev/sdq1" still in use
Despite the scary-looking abort message, the source PV is 100% free and can be removed from the VG.
|
|