Re: Forcibly remove broken disk from LV

From: Turbo Fredriksson
Date: Wed Jul 04 2007 - 15:00:48 EST


Quoting "Jesper Juhl" <jesper.juhl@xxxxxxxxx>:

> On 04/07/07, Jesper Juhl <jesper.juhl@xxxxxxxxx> wrote:
>> On 04/07/07, Turbo Fredriksson <turbo@xxxxxxxxxx> wrote:
>> > I have a disk that only gives SCSI errors etc which
>> > I want to remove from the VG. But vgreduce only hangs
>> > and so does pvremove...
>> >
>> > If I physically remove the disk, the vg/pv/lv etc isn't
>> > accessible so the vgreduce won't work (claims that it
>> > can't find any PV's etc).
>> >
>> > So how do I remove the disk?
>>
>> vgreduce --removemissing
>>
>> should do the trick I'd say.

Just hangs. I gues I must first cancel the pvmove...

> Ohh and by the way, pvremove also has a --force option - if needed.

Also just hangs...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/