[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a8748490707040314l3166bdacy75c9394ca017c0ec@mail.gmail.com>
Date: Wed, 4 Jul 2007 12:14:26 +0200
From: "Jesper Juhl" <jesper.juhl@...il.com>
To: "Turbo Fredriksson" <turbo@...our.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Forcibly remove broken disk from LV
On 04/07/07, Jesper Juhl <jesper.juhl@...il.com> wrote:
> On 04/07/07, Turbo Fredriksson <turbo@...our.com> 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@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists