<DIV>hi all,<BR>i try to explain the problem i have here,<BR>it looks like dataloss to me because is cannot set the <BR>volumegroup online anymore.</DIV>
<DIV><BR>what i had originally:</DIV>
<DIV>1 fibre channel diskdrive of the size 236.02 GB.<BR>i had created one both pv's and assigned it<BR>to a volume group called tivg1.<BR>i made 1 lv out of it, using the maximum possible<BR>PE's available (PE size = 16 MB).  i named this lv <BR>/dev/tivg1/tilv1. </DIV>
<DIV>now i added 3 new drives to this vg, 1*16.85 GB<BR>and 2* 8.43 GB.  <BR>i created a new lv /dev/tivg1/tilv2, using again <BR>the max. number of free pe's, resulting in a lv size <BR>of 33.64 GB.</DIV>
<DIV>both lv's have been in production with no problem.<BR>until one 8.43 GB drive (/dev/sdv1 used in /dev/tivg1/tilv2)  <BR>got corrupted somehow. <BR>/dev/tivg1/tilv2 crashed but /dev/tivg1/tilv1 kept running with <BR>no problems.<BR>until i rebooted.</DIV>
<DIV>the problem is that i now cannot reactivate tivg1 anymore<BR>and get to my data which relies on /dev/tivg1/tilv1.<BR>even though in know that this drive (/dev/sdg1) is 100%<BR>running and ok.</DIV>
<DIV>i already re-formated the corrupted 8.43 GB drive and tried to<BR>to vgcfgrestore the old lvm-config to the drive.<BR>but i still cant get the vg online again.<BR>at this point all data on the 236.02 GB lv seemes to be lost.</DIV>
<DIV><BR>can anybody help with any ideas?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>best regards,<BR>tomasz</DIV>
<DIV>****************************************************************************<BR>outputs:</DIV>
<DIV><BR>[root@ti root]# vgcfgrestore -ll -n tivg1 -f /etc/lvmconf/tivg1.conf</DIV>
<DIV>--- Volume group ---<BR>VG Name               tivg1<BR>VG Access             read/write<BR>VG Status             NOT available/resizable<BR>VG #                  1<BR>MAX LV                256<BR>Cur LV                2<BR>Open LV               0<BR>MAX LV Size           1023.97 GB<BR>Max PV                256<BR>Cur
 PV                4<BR>Act PV                4<BR>VG Size               269.64 GB<BR>PE Size               16 MB<BR>Total PE              17257<BR>Alloc PE / Size       17257 / 269.64 GB<BR>Free  PE / Size       0 / 0<BR>VG UUID               7gfOH1-Fdxb-ths8-yTSo-2iZJ-Sh1C-mK3v3w</DIV>
<DIV>--- Logical volume ---<BR>LV Name                /dev/tivg1/tilv1<BR>VG Name                tivg1<BR>LV Write Access        read/write<BR>LV Status              NOT available<BR>LV #                   1<BR># open                 0<BR>LV Size                236 GB<BR>Current LE             15104<BR>Allocated LE          
 15104<BR>Allocation             next free<BR>Read ahead sectors     10000<BR>Block device           58:1</DIV>
<DIV>--- Logical volume ---<BR>LV Name                /dev/tivg1/tilv2<BR>VG Name                tivg1<BR>LV Write Access        read/write<BR>LV Status              NOT available<BR>LV #                   2<BR># open                 0<BR>LV Size                33.64 GB<BR>Current LE             2153<BR>Allocated LE          
 2153<BR>Allocation             next free<BR>Read ahead sectors     10000<BR>Block device           58:2</DIV>
<DIV><BR>--- Physical volume ---<BR>PV Name               /dev/sdg1<BR>VG Name               tivg1<BR>PV Size               236.02 GB [494962587 secs] / NOT usable 16.19 MB [LVM: 187 KB]<BR>PV#                   1<BR>PV Status             available<BR>Allocatable           yes (but full)<BR>Cur LV                1<BR>PE Size (KByte)       16384<BR>Total PE              15104<BR>Free
 PE               0<BR>Allocated PE          15104<BR>PV UUID               oOS8A3-OKLq-1pY7-wktU-2n3c-GMfO-q5k9k4</DIV>
<DIV>--- Physical volume ---<BR>PV Name               /dev/sdf1<BR>VG Name               tivg1<BR>PV Size               16.85 GB [35342937 secs] / NOT usable 16.19 MB [LVM: 132 KB]<BR>PV#                   2<BR>PV Status             available<BR>Allocatable           yes (but full)<BR>Cur LV                1<BR>PE Size (KByte)       16384<BR>Total PE              1077<BR>Free
 PE               0<BR>Allocated PE          1077<BR>PV UUID               UWfbF4-ZRCC-4ik2-pX91-3GDc-MrtM-C4gH5Y</DIV>
<DIV>--- Physical volume ---<BR>PV Name               /dev/sdv1<BR>VG Name               tivg1<BR>PV Size               8.43 GB [17671437 secs] / NOT usable 16.19 MB [LVM: 130 KB]<BR>PV#                   3<BR>PV Status             available<BR>Allocatable           yes (but full)<BR>Cur LV                1<BR>PE Size (KByte)       16384<BR>Total PE              538<BR>Free
 PE               0<BR>Allocated PE          538<BR>PV UUID               BoZxoP-nRA7-j6X3-3rPq-1Gki-yK0I-yfcvW1</DIV>
<DIV>--- Physical volume ---<BR>PV Name               /dev/sdm1<BR>VG Name               tivg1<BR>PV Size               8.43 GB [17671437 secs] / NOT usable 16.19 MB [LVM: 130 KB]<BR>PV#                   4<BR>PV Status             available<BR>Allocatable           yes (but full)<BR>Cur LV                1<BR>PE Size (KByte)       16384<BR>Total PE              538<BR>Free
 PE               0<BR>Allocated PE          538<BR>PV UUID               Qb1uGf-6X1F-o3VL-WJYo-2mWX-aApu-Ogn8vq</DIV>
<DIV>****************************************************************************</DIV>
<DIV>[root@ti root]# pvscan<BR>pvscan -- reading all physical volumes (this may take a while...)<BR>pvscan -- ACTIVE   PV "/dev/sdd1" of VG "tivg0" [33.69 GB / 0 free]<BR>pvscan -- ACTIVE   PV "/dev/sde1" of VG "tivg0" [8.41 GB / 0 free]<BR>pvscan -- inactive PV "/dev/sdf1" is in no VG  [8.43 GB]<BR>pvscan -- inactive PV "/dev/sdg1"  is associated to unknown VG "tivg1" (run vgscan)<BR>pvscan -- inactive PV "/dev/sdh1"  is associated to unknown VG "tivg1" (run vgscan)<BR>pvscan -- inactive PV "/dev/sdn1"  is associated to unknown VG "tivg1" (run vgscan)<BR>pvscan -- ACTIVE   PV "/dev/sdp1" of VG "tivg0" [101.12 GB / 0 free]<BR>pvscan -- total: 7 [413.01 GB] / in use: 6 [404.58 GB] / in no VG: 1 [8.43 GB]</DIV>
<DIV>****************************************************************************</DIV>
<DIV>[root@ti root]# vgscan<BR>vgscan -- reading all physical volumes (this may take a while...)<BR>vgscan -- found active volume group "tivg0"<BR>vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "tivg1" from physical volume(s)<BR>vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created<BR>vgscan -- WARNING: This program does not do a VGDA backup of your volume groups</DIV>
<DIV>****************************************************************************</DIV>
<DIV>[root@ti root]# vgchange tivg1 -ay<BR>vgchange -- volume group "tivg1" does not exist</DIV>
<DIV>****************************************************************************</DIV>
<P> </P>
<P> </P><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>