AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  VFS after crash - no plausible log device

    Posted Wed January 31, 2007 04:00 AM

    Originally posted by: SystemAdmin


    Hello,

    I run AIX 5.1 and it worked very well until the UPS crashed.
    The AIX box can not recover any more - can not mount the rootvg - led displays 557 (The root filesystem will not mount)

    No problem... I booted in with install CD -> maintenance mode...
    But nothing helps. I get the following errors whatever I try to do:

    imfs: can't find log for volume group rootvg

    fsck: Cannot find the Vfs value for file system /dev/hd2
    fsck: Cannot find the Vfs value for file system /dev/hd4´

    mount: there is no plausible log device for /dev/hd4 (/)

    Is there any way to restore this vg?
    What is the magic command that recovers rootvg?

    I just can not believe that a such a robust and stable Unix system can collapse because of a power cut.

    BTW I had some other system connected to that UPS during crash - Linux, Solaris, VMS, HPUX, QNX, BSDs, Tru64 - all survived except my AIX :(

    Please help...
    Any help, hint would be highly appreciated.

    Thank you in advance.

    Regards,
    Z

    #AIX-Forum


  • 2.  Re: VFS after crash - no plausible log device

    Posted Wed January 31, 2007 07:34 AM

    Originally posted by: SystemAdmin


    I'm afraid you're going to have to practice your system recovery skills here. You'll have to boot the system from the install media and get into maintenance mode. The choose an option called "Access a Volume Group and start a shell before mounting file systems". From there you'll be able to run an fsck command against the logical volumes.

    1. fsck -y /dev/hd1
    2. fsck -y /dev/hd2
    3. fsck -y /dev/hd3
    4. fsck -y /dev/hd4
    5. fsck -y /dev/hd9var

    Then fix up the jfs log with

    1. /usr/sbin/logform /dev/hd8

    After all that you should be able to reboot normally.

    Good luck.

    Jim Lane
    #AIX-Forum


  • 3.  Re: VFS after crash - no plausible log device

    Posted Wed January 31, 2007 03:33 PM

    Originally posted by: SystemAdmin


    Jim,

    thank you for the fast reply.
    Unfortunately, it did not help.

    fsck for every device gives the same error.

    1. fsck -y /dev/hd4
    fsck: Cannot find the Vfs value for file system /dev/hd4

    I could execute:
    1. /usr/sbin/logform /dev/hd8

    It passed well. It asked for confirmation -I answered yes even if I am not 100% sure what had been on/dev/hd8

    Regardless, system behaves exactly as earlier - can not mount rootvg.

    Is there any other idea?

    Thank you in advance.

    Regards,
    Z
    #AIX-Forum


  • 4.  Re: VFS after crash - no plausible log device

    Posted Mon February 05, 2007 04:51 AM

    Originally posted by: SystemAdmin


    Hello,

    thank you helping me.
    I spent the weekend playing with the box.

    >2- Run fsck to all devices

    I was needed to perform /usr/sbin/logform /dev/hd8 first and reboot the box and come again to maintenance mode in order to get fsck work.

    >3- Format the log device:
    >/usr/sbin/logform /dev/hd8

    Done - worked immediately.

    >4- Mount the /dev/hd4 as /mnt filesystem
    >mount /dev/hd4 /mnt

    Done.

    >5- Edit the /mnt/etc/filesystems file and check that the entry for FS /is the same as...

    I was able to mount the file system after all fscks passed, but there were no tool what I could use for editing.
    ls does not work not even /mnt/bin/sh /mnt/bin/ls either.
    So I was not able to see/reach anything on the mounted root volume.
    Something that was wired and can cause the problem - maybe the disk is really damaged.

    During fsck run, I got lot of this kind of messages:
    Cannot read block 2222 (CLEARED)

    But on partition /dev/hd9var on one point I get:
    Cannot write block 128 (CONTINUE).

    And when I exit the maintenance shell it want to mount the rootvg partitions the box hangs with:

    Cannot write block 128 (TERMINATED) ... and this message loops endless.

    The question is: is it possible to format this partition from maintenance mode or to repair this damaged block?

    Thank you in advance.

    Regards,
    Z
    #AIX-Forum


  • 5.  Re: VFS after crash - no plausible log device

    Posted Thu January 05, 2017 01:37 PM

    Originally posted by: RajeshMV


    Hi,

    I have similar issue, i ran fsck on all LVs and ran logform, rebooted the system. But i still face the same issue.

     


    #AIX-Forum