<br><b><i>Tom+Dale <tdmyth@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <b><i>"gLaNDix (Jesse Kaufman)" <glandix@lloydnet.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Tom+Dale wrote:<br><br>> Now I didn't know what else to try so I guessed at a few commands <br>> without any succes. I'm floundering here...can anyone suggest anything <br>> else to try? Did I somehow lose the data? It seems to me that I should <br>> be able to access it still. I feel like I just need to tell the system <br>> how to find the logical volume LogVol00. It doesn't show up under /dev, <br>> but I don't know if that matters.<br><br>it looks like most of what i'm seeing is vg* and pv* commands ... have <br>you tried any of the lv* commands? for instance, lvdiskscan, lvscan,
<br>lvdisplay, or lvchange? for details on them, read the man pages, since <br>i just quickly ran through a few that looked like they might be related <br>to figuring more info out<br><br>-g-<br><br><br><br></blockquote>Thanks for the response. I guess I should have mentioned the results from lv* commands I tried (lvdiskscan appears not to be a Fedora command). I'm afraid to do anything with lvcreate because I don't want to step on what's there--unless I am misunderstanding how things work. It looks to me like the volume group is there, but the system can't find or doesn't know the label. I wonder how to tell it that the label was LogVol00.<br><br>Here are some results:<br><br>[root@mythserver ~]# lvchange -vvvay /dev/VolGroup00/LogVol00<br> Processing: lvchange -vvvay /dev/VolGroup00/LogVol00<br> O_DIRECT will be used<br> Setting
global/locking_type to 1<br> Setting global/locking_dir to /var/lock/lvm<br> File-based locking enabled.<br> Using logical volume(s) on command line<br> Locking /var/lock/lvm/V_VolGroup00 WB<br> Opened /dev/sda RW<br> /dev/sda: block size is 4096 bytes<br> /dev/sda: No label detected<br> Opened /dev/hda1 RW<br> /dev/hda1: block size is 1024 bytes<br> /dev/hda1: No label detected<br> Opened /dev/hda2 RW<br> /dev/hda2: block size is 4096 bytes<br> /dev/hda2: No label detected<br> Opened
/dev/hda3 RW<br> /dev/hda3: block size is 4096 bytes<br> /dev/hda3: No label detected<br> Opened /dev/hda5 RW<br> /dev/hda5: block size is 512 bytes<br> /dev/hda5: lvm2 label detected<br> lvmcache: /dev/hda5 now orphaned<br> lvmcache: /dev/hda5 now in VG VolGroup00<br> Opened /dev/hdb RW<br> /dev/hdb: block size is 4096 bytes<br> /dev/hdb: lvm2 label detected<br> lvmcache: /dev/hdb now orphaned<br> lvmcache: /dev/hdb now in VG VolGroup00<br> /dev/hda5: lvm2 label
detected<br> /dev/hdb: lvm2 label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Read VolGroup00 metadata (11) from /dev/hda5 at 18944 size 720<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Read VolGroup00 metadata (11) from /dev/hdb at 16896 size 720<br> One or more specified logical volume(s) not found.<br> Unlocking /var/lock/lvm/V_VolGroup00<br> Closed /dev/sda<br> Closed /dev/hda1<br> Closed /dev/hda2<br> Closed /dev/hda3<br> Closed
/dev/hda5<br> Closed /dev/hdb<br>[root@mythserver ~]# lvscan -vvv<br> Processing: lvscan -vvv<br> O_DIRECT will be used<br> Setting global/locking_type to 1<br> Setting global/locking_dir to /var/lock/lvm<br> File-based locking enabled.<br> Finding all logical volumes<br> Opened /dev/sda RO<br> /dev/sda: block size is 4096 bytes<br> /dev/sda: No label detected<br> Closed /dev/sda<br> Opened /dev/hda1 RO<br> /dev/hda1: block size is 1024 bytes<br> /dev/hda1: No label
detected<br> Closed /dev/hda1<br> Opened /dev/hda2 RO<br> /dev/hda2: block size is 4096 bytes<br> /dev/hda2: No label detected<br> Closed /dev/hda2<br> Opened /dev/hda3 RO<br> /dev/hda3: block size is 4096 bytes<br> /dev/hda3: No label detected<br> Closed /dev/hda3<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> /dev/hda5: lvm2 label detected<br> Closed /dev/hda5<br> lvmcache: /dev/hda5 now
orphaned<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> Closed /dev/hda5<br> lvmcache: /dev/hda5 now in VG VolGroup00<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> /dev/hdb: lvm2 label detected<br> Closed /dev/hdb<br> lvmcache: /dev/hdb now orphaned<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> Closed /dev/hdb<br> lvmcache: /dev/hdb now in VG VolGroup00<br>
Locking /var/lock/lvm/V_VolGroup00 RB<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> /dev/hda5: lvm2 label detected<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> /dev/hdb: lvm2 label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Read VolGroup00 metadata (11) from /dev/hda5 at 18944 size 720<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Read VolGroup00 metadata (11) from /dev/hdb at 16896 size 720<br> Unlocking
/var/lock/lvm/V_VolGroup00<br> Closed /dev/hda5<br> Closed /dev/hdb<br>[root@mythserver ~]# lvdisplay -vvv<br> Processing: lvdisplay -vvv<br> O_DIRECT will be used<br> Setting global/locking_type to 1<br> Setting global/locking_dir to /var/lock/lvm<br> File-based locking enabled.<br> Finding all logical volumes<br> Opened /dev/sda RO<br> /dev/sda: block size is 4096 bytes<br> /dev/sda: No label detected<br> Closed /dev/sda<br> Opened /dev/hda1 RO<br> /dev/hda1: block
size is 1024 bytes<br> /dev/hda1: No label detected<br> Closed /dev/hda1<br> Opened /dev/hda2 RO<br> /dev/hda2: block size is 4096 bytes<br> /dev/hda2: No label detected<br> Closed /dev/hda2<br> Opened /dev/hda3 RO<br> /dev/hda3: block size is 4096 bytes<br> /dev/hda3: No label detected<br> Closed /dev/hda3<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> /dev/hda5: lvm2 label detected<br> Closed
/dev/hda5<br> lvmcache: /dev/hda5 now orphaned<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> Closed /dev/hda5<br> lvmcache: /dev/hda5 now in VG VolGroup00<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> /dev/hdb: lvm2 label detected<br> Closed /dev/hdb<br> lvmcache: /dev/hdb now orphaned<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> Closed
/dev/hdb<br> lvmcache: /dev/hdb now in VG VolGroup00<br> Locking /var/lock/lvm/V_VolGroup00 RB<br> Opened /dev/hda5 RO<br> /dev/hda5: block size is 512 bytes<br> /dev/hda5: lvm2 label detected<br> Opened /dev/hdb RO<br> /dev/hdb: block size is 4096 bytes<br> /dev/hdb: lvm2 label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Read VolGroup00 metadata (11) from /dev/hda5 at 18944 size 720<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label
detected<br> Read VolGroup00 metadata (11) from /dev/hdb at 16896 size 720<br> Unlocking /var/lock/lvm/V_VolGroup00<br> Closed /dev/hda5<br> Closed /dev/hdb<br><br><br></blockquote>Greetings to all:<br>This followup is for the benefit of those who may run into a similar problem in the future. I was, at last, able to solve this problem. I was right all along...the data was there. So when I started experimenting with the archive files associated with LVM, I stumbled on success. Someone suggested "vgcfgrestore" might work; however, I had to use trial & error with the -t (test) parameter in order to figure this out. By that I mean reading the LVM HowTo and various man pages did not clarify much for me. So here are the steps that I
took:<br>--------------------------------------------------------<br>[root@mythserver lvm]# vgcfgrestore -tf /etc/lvm/archive/VolGroup00_00000.vg<br> Test mode: Metadata will NOT be updated.<br> Please specify a *single* volume group to restore.<br>[root@mythserver lvm]# vgcfgrestore -tf /etc/lvm/archive/VolGroup00_00000.vg Vol<br>Group00<br> Test mode: Metadata will NOT be updated.<br> Restored volume group VolGroup00<br>[root@mythserver lvm]# vgcfgrestore -tvf /etc/lvm/archive/VolGroup00_00000.vg Vo<br>lGroup00<br> Test mode: Metadata will NOT be updated.<br> Restored volume group VolGroup00<br> Test mode: Wiping internal cache<br> Wiping internal VG cache<br>[root@mythserver lvm]# vgcfgrestore -tvvf /etc/lvm/archive/VolGroup00_00000.vg V<br>olGroup00<br> Test mode: Metadata will NOT be updated.<br> Setting global/locking_type to
1<br> Setting global/locking_dir to /var/lock/lvm<br> File-based locking enabled.<br> Locking /var/lock/lvm/P_orphans WB<br> Locking /var/lock/lvm/V_VolGroup00 W <br> /dev/hda1: No label detected<br> /dev/hda2: No label detected<br> /dev/hda3: No label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Restored volume group VolGroup00<br> Unlocking /var/lock/lvm/V_VolGroup00<br> Unlocking /var/lock/lvm/P_orphans<br> Test mode: Wiping internal
cache<br> Wiping internal VG cache<br>[root@mythserver lvm]# vgcfgrestore -vvf /etc/lvm/archive/VolGroup00_00000.vg Vo<br>lGroup00<br> Setting global/locking_type to 1<br> Setting global/locking_dir to /var/lock/lvm<br> File-based locking enabled.<br> Locking /var/lock/lvm/P_orphans WB<br> Locking /var/lock/lvm/V_VolGroup00 W <br> /dev/hda1: No label detected<br> /dev/hda2: No label detected<br> /dev/hda3: No label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> /dev/hda5: lvm2 label detected<br> /dev/hdb: lvm2 label detected<br> Restored volume group
VolGroup00<br> Unlocking /var/lock/lvm/V_VolGroup00<br> Unlocking /var/lock/lvm/P_orphans<br>[root@mythserver lvm]# lvscan<br> inactive '/dev/VolGroup00/LogVol00' [364.21 GB] inherit<br>[root@mythserver lvm]# lvchange -tv -ay /dev/VolGroup00/LogVol00<br> Test mode: Metadata will NOT be updated.<br> Using logical volume(s) on command line<br> Activating logical volume "LogVol00"<br> Found volume group "VolGroup00"<br> Test mode: Wiping internal cache<br> Wiping internal VG cache<br>[root@mythserver lvm]# lvchange -v -ay /dev/VolGroup00/LogVol00<br> Using logical volume(s) on command line<br> Activating logical volume "LogVol00"<br> Found volume group "VolGroup00"<br> Loading
VolGroup00-LogVol00<br>[root@mythserver lvm]# mount -a<br>------------------------------------------------------------------------<br>That did it! We were able to copy our data off the volume and recover the whole system. I hope this helps someone else down the road.<br><br>-Tom-<br><br><p> 
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.