Skip to contentSkip to conversation

Forcibly remove broken disk from LV

DISCUSSION Turbo Fredriksson 2 participants 4 messages Jul 4, 2007

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 9 lines · Turbo Fredriksson

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.

Signature · 3 lines
Jesper Juhl <[email protected]>
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
#2 lore raw
Quoted 9 lines · Jesper Juhl
Quoted 8 lines · Turbo Fredriksson

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).

Quoted 6 lines
Quoted 1 line

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.

Signature · 3 lines
Jesper Juhl <[email protected]>
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
#3 lore raw

Quoting "Jesper Juhl" <[email protected]>:

Quoted 10 lines · Jesper Juhl
Quoted 9 lines · Turbo Fredriksson
Quoted 8 lines

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).

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

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...

Quoted 1 line

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

Also just hangs...