mirroring LVM tested

| | Comments (0) | TrackBacks (0)
today we tested yesterday's entry.   I'm not going over the md stuff, as there are good guides for md all over the place, but restoring the LVM mirroring is a bit tricky.


once you reboot after removing the disk (as in our test) to make things work, you must 

vgreduce --remove-missing vg_name

then 

vgchange -ay vg_name

this will get you back up and running.  

Then, once you have the disk replaced, to restore redundancy:

pvcreate /dev/newdiskpartition

vgextend vg_name pv_name

lvconvert -m1 /dev/vg_name/lv_name 

check status by typing 'lvs'  and looking at the 'copy percent' log

0 TrackBacks

Listed below are links to blogs that reference this entry: mirroring LVM tested.

TrackBack URL for this entry: http://wiki.xen.prgmr.com/mt/mt-tb.cgi/30

Leave a comment

About this Entry

This page contains a single entry by luke published on April 26, 2008 5:55 PM.

redundant array of crappy disks. was the previous entry in this blog.

problems with paypal subscriptions is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.