* Forcibly remove broken disk from LV
@ 2007-07-04 9:37 Turbo Fredriksson
2007-07-04 10:13 ` Jesper Juhl
0 siblings, 1 reply; 4+ messages in thread
From: Turbo Fredriksson @ 2007-07-04 9:37 UTC (permalink / raw)
To: linux-kernel
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forcibly remove broken disk from LV
2007-07-04 9:37 Forcibly remove broken disk from LV Turbo Fredriksson
@ 2007-07-04 10:13 ` Jesper Juhl
2007-07-04 10:14 ` Jesper Juhl
0 siblings, 1 reply; 4+ messages in thread
From: Jesper Juhl @ 2007-07-04 10:13 UTC (permalink / raw)
To: Turbo Fredriksson; +Cc: linux-kernel
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.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forcibly remove broken disk from LV
2007-07-04 10:13 ` Jesper Juhl
@ 2007-07-04 10:14 ` Jesper Juhl
2007-07-04 19:00 ` Turbo Fredriksson
0 siblings, 1 reply; 4+ messages in thread
From: Jesper Juhl @ 2007-07-04 10:14 UTC (permalink / raw)
To: Turbo Fredriksson; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forcibly remove broken disk from LV
2007-07-04 10:14 ` Jesper Juhl
@ 2007-07-04 19:00 ` Turbo Fredriksson
0 siblings, 0 replies; 4+ messages in thread
From: Turbo Fredriksson @ 2007-07-04 19:00 UTC (permalink / raw)
To: linux-kernel
Quoting "Jesper Juhl" <jesper.juhl@gmail.com>:
> 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.
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...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-04 19:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 9:37 Forcibly remove broken disk from LV Turbo Fredriksson
2007-07-04 10:13 ` Jesper Juhl
2007-07-04 10:14 ` Jesper Juhl
2007-07-04 19:00 ` Turbo Fredriksson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox