<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV> After a forced reboot while my 2.6.12 system was frozen, the JFS formatted LVM2 VG I have created will not mount upon startup. When I use the following command to mount it by hand, I get a generic bad superblock message: </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # mount -t jfs /dev/myth-video-vg/myth-video /video</DIV><DIV>mount: wrong fs type, bad option, bad superblock on /dev/myth-video-vg/myth-video,</DIV><DIV> missing codepage or other error</DIV><DIV> In some cases useful info is found in syslog - try</DIV><DIV> dmesg | tail or so</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> I ran jfs_fsck on both physical volumes that are part of the VG and one partition had a detectable error that was fixed by replaying the log. Now jfs_fsk reports two clean filesystems. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # jfs_fsck /dev/sdb </DIV><DIV>jfs_fsck version 1.1.8, 03-May-2005</DIV><DIV>processing started: 12/4/2005 10.1.24</DIV><DIV>Using default parameter: -p</DIV><DIV>The current device is: /dev/sdb</DIV><DIV>Block size in bytes: 4096</DIV><DIV>Filesystem size in blocks: 61049646</DIV><DIV>**Phase 0 - Replay Journal Log</DIV><DIV>Filesystem is clean.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # jfs_fsck /dev/sda4</DIV><DIV>jfs_fsck version 1.1.8, 03-May-2005</DIV><DIV>processing started: 12/4/2005 10.1.31</DIV><DIV>Using default parameter: -p</DIV><DIV>The current device is: /dev/sda4</DIV><DIV>Block size in bytes: 4096</DIV><DIV>Filesystem size in blocks: 16844152</DIV><DIV>**Phase 0 - Replay Journal Log</DIV><DIV>Filesystem is clean.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> Despite their cleanliness, they still won't mount. Do I need to go about restoring anything in LVM2 meta data in order to mount? I've read </DIV><DIV><A href="https://www.redhat.com/archives/linux-lvm/2004-December/msg00048.html">this previous post</A> about using <FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">vgcfgrestore </SPAN><FONT class="Apple-style-span" face="Helvetica">and tried it with the newest file in /etc/lvm/archive/, but it had not effect after completing sucessfully. </FONT></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # vgcfgrestore --file /etc/lvm/archive/myth-video-vg_00003.vg myth-video-vg</DIV><DIV> Restored volume group myth-video-vg</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # mount -t jfs /dev/myth-video-vg/myth-video /video</DIV><DIV>mount: wrong fs type, bad option, bad superblock on /dev/myth-video-vg/myth-video,</DIV><DIV> missing codepage or other error</DIV><DIV> In some cases useful info is found in syslog - try</DIV><DIV> dmesg | tail or so</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> I'm really not sure what I need to do in order to get this VG mounted. Any hints would be greatly appreciated. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> Here are some diagnostics: </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pvr ~ # lvscan</DIV><DIV> ACTIVE '/dev/myth-video-vg/myth-video' [297.14 GB] inherit</DIV><DIV>pvr ~ # lvmdiskscan</DIV><DIV> /dev/sda1 [ 39.19 MB] </DIV><DIV> /dev/sda2 [ 964.84 MB] </DIV><DIV> /dev/sda3 [ 9.32 GB] </DIV><DIV> /dev/sda4 [ 64.26 GB] LVM physical volume</DIV><DIV> /dev/sdb [ 232.89 GB] LVM physical volume</DIV><DIV> 0 disks</DIV><DIV> 3 partitions</DIV><DIV> 1 LVM physical volume whole disk</DIV><DIV> 1 LVM physical volume</DIV><DIV>pvr ~ # lvdisplay</DIV><DIV> --- Logical volume ---</DIV><DIV> LV Name /dev/myth-video-vg/myth-video</DIV><DIV> VG Name myth-video-vg</DIV><DIV> LV UUID 4gV513-mE25-gEkf-gCLp-LqWE-XvG8-CXziEv</DIV><DIV> LV Write Access read/write</DIV><DIV> LV Status available</DIV><DIV> # open 0</DIV><DIV> LV Size 297.14 GB</DIV><DIV> Current LE 76067</DIV><DIV> Segments 2</DIV><DIV> Allocation inherit</DIV><DIV> Read ahead sectors 0</DIV><DIV> Block device 253:0</DIV><DIV> </DIV><DIV>pvr ~ # pvdisplay</DIV><DIV> --- Physical volume ---</DIV><DIV> PV Name /dev/sdb</DIV><DIV> VG Name myth-video-vg</DIV><DIV> PV Size 232.88 GB / not usable 0 </DIV><DIV> Allocatable yes (but full)</DIV><DIV> PE Size (KByte) 4096</DIV><DIV> Total PE 59618</DIV><DIV> Free PE 0</DIV><DIV> Allocated PE 59618</DIV><DIV> PV UUID 0SUUxX-EVWj-Mquv-qCnR-NNHb-qMfp-v4uOnZ</DIV><DIV> </DIV><DIV> --- Physical volume ---</DIV><DIV> PV Name /dev/sda4</DIV><DIV> VG Name myth-video-vg</DIV><DIV> PV Size 64.25 GB / not usable 0 </DIV><DIV> Allocatable yes (but full)</DIV><DIV> PE Size (KByte) 4096</DIV><DIV> Total PE 16449</DIV><DIV> Free PE 0</DIV><DIV> Allocated PE 16449</DIV><DIV> PV UUID Bo4us4-JNx7-T71m-H7M6-AxFN-eH4m-1m0zvB</DIV><DIV> </DIV><DIV>pvr ~ # pvscan</DIV><DIV> PV /dev/sdb VG myth-video-vg lvm2 [232.88 GB / 0 free]</DIV><DIV> PV /dev/sda4 VG myth-video-vg lvm2 [64.25 GB / 0 free]</DIV><DIV> Total: 2 [297.14 GB] / in use: 2 [297.14 GB] / in no VG: 0 [0 ]</DIV><DIV>pvr ~ # vgscan</DIV><DIV> Reading all physical volumes. This may take a while...</DIV><DIV> Found volume group "myth-video-vg" using metadata type lvm2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">--</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Bill</FONT></P> </DIV><BR></BODY></HTML>