[Gllug] LVM with failed disk

Andy Smith andy at lug.org.uk
Fri Aug 3 19:40:45 UTC 2007


Hi Ken,

On Fri, Aug 03, 2007 at 08:33:00PM +0100, Ken Smith wrote:
> The third of the three disks has failed. As far as I can tell (from 
> /etc/lvm/backup/VolGoup00) the LV with / is actually on the first 
> (intact) disk. The LV with /home is trashed as it spills onto the third 
> disk, but its backed up elsewhere.
> 
> Am I safe to
> 
> pvremove -force
> 
> the third disk?

I don't believe that will work if the third disk is dead.

> Can I then delete the remainder of the failed LV while keeping the good 
> LV that is on the first disk intact?

Try

vgreduce --test --removemissing

then drop the --test if you're happy.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20070803/4c34071e/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list