pv_move failed
Quoted 2 lines · Heinz J . Mauelshagen
the first write to hda2 fails.
Could be a hardware installation problem with your new drive.
no indication. I had my VG on two 120G + 75G disks before. The 120G disk could be moved completely, whereas moving the 75G disk failed after 896 LE moved.
Quoted 1 line
Have you tested if you can access hda2 fine without LVM ?
I run badblocks with no errors.
I just "strace" pvmove and get:
write(5, ..., 65536) = -1 ENOSPC (No space left on device)
seems pvmove gets a unexpected ENOSPC. OK, I got it:
fdisk -l /dev/hda reports:
Disk /dev/hda: 255 heads, 63 sectors, 30515 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/hda1 1 262 2104483+ 83 Linux /dev/hda2 263 22526 178835580 8e Linux LVM
The 2nd partition does not span to the end of the disk, where as pvdisplay shows up with 231.75 GB. I'll remove all data from hda2 again and try to find out, how this discrepancy came about....
Dieter.
Signature · 4 lines
Dieter St�ken, con terra GmbH, M�nster
[email protected]
http://www.conterra.de/
(0)251-7474-501