RE: [linux-lvm] pv_move failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heinz J . Mauelshagen wrote:

>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.

>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.
--
Dieter Stüken, con terra GmbH, Münster
    stueken@conterra.de
    http://www.conterra.de/
    (0)251-7474-501


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux