lkml.org 
[lkml]   [2007]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Forcibly remove broken disk from LV
On 04/07/07, Jesper Juhl <jesper.juhl@gmail.com> wrote:
> On 04/07/07, Turbo Fredriksson <turbo@bayour.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@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-04 12:17    [W:0.165 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site