[plug] Removing a disk from LVM

Ian Kent raven at themaw.net
Sat May 5 00:01:23 WST 2007


On Fri, 2007-05-04 at 16:42 +0800, Nigel Duff wrote:
> Hi list,
> 
> I am working(remotely) on a fileserver that holds a 5T LVM
> volume.  One of the disks is showing signs of corruption[1] and I
> am trying to remove it using pvmove/vgreduce.  However those
> commands return an "Incorrect metadata area header checksum"
> error. 
> 
> I have tried recovering the physical volume metadata[2] but all
> IDs are correct. The only other information I was able to find
> suggested doing an e2fsck. I have ran a number of these of the
> last few days all finishing saying the filesystem is 51.5%
> contiguous. I still can't use vgreduce[3]. 

I asked Hienz Mauelshagen and he suggested using the commands I gave in
the mail below to see if they make the message go away. After looking at
the output from the display commands you gave he said that your LV is as
big as your VG so you can't vgreduce it.  And the errors can be
explained by trying to shrink the LV without first shrinking the
filesystem (ha, I did that a while back myself).

Ian





More information about the plug mailing list