How to Recover an Ibrix Logical Volume (ILV)

How to Recover an Ibrix Logical Volume (ilv)
Solution ID: 00000074
Created: 10/1/2008
DETAILS:
Recovering an Segment/LV Procedure
On the FM grab the lvm config file for the "ilv#" device ... and copy that "vg.date"
file to the server owner of the segment.
FM location for this file is in:
/usr/local/ibrix/web/lvm
should see something like this:
ivg1.20080520_113527
copy the later file which has the ilv# info in it to the missing segment's server to
/tmp and use cfgrestore on the server as follows:
syntax:
#/usr/sbin/vgcfgrestore -ll -n /dev/ivg1 -f /path/to/ivg1.date_file
example:
vgcfgrestore -ll -n /dev/ivg1 -f ivg1.20080520_113529
File: ivg1.20080520_113529
VG name: ivg1
Description: /usr/sbin/vgcfgbackup -f /etc/lvm/backup/ivg1.20080520_113529
ivg1
Backup Time: Tue May 20 11:35:29 2008
Last resort if the ibrix_pv -a -o /dev/mapper on the server nor a reboot worked to
recognize the damaged/overwritten lun is time to initialize the pv and restore lv
metadata as illustrated below:
First if there are partitions on the disk from a relabel job or someone inadvertently
installed linux onto the SAN disk stomp on this with:
#pvcreate -ff /dev/mapper/mpath#
#pvcreate --restorefile /etc/lvm/backup/ivg1 --uuid r0JdHv-9o4A-YZar-zL7e-m3to-
urgf-pu41L2 /dev/mapper/ibrixpath01 -ff

Summary of content (4 pages)