Re: Forcibly remove broken disk from LV

From: Jesper Juhl
Date: Wed Jul 04 2007 - 06:14:36 EST


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.

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


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/