1827075 Members
1422 Online
109713 Solutions
New Discussion

JFS intent log recovery-

 
SOLVED
Go to solution
galenr
Advisor

JFS intent log recovery-

Ladies and Gents-
An ugly scene... yikes !!! Question is: After a system crash, how does one replay transactions in a jfs intent log in order to restore file system metadata to a consistent state ?

THANX in ADVANCE
6 REPLIES 6
Pete Randall
Outstanding Contributor
Solution

Re: JFS intent log recovery-

Galen,

It's done by fsck during reboot.


Pete

Pete
S.K. Chan
Honored Contributor

Re: JFS intent log recovery-

Do a full fsck if the system prompts you for that .. for example ..
# fsck -F vxfs -o full /dev/vg01/rlvol2
That would bring it back to a consistent state.
Steven E. Protter
Exalted Contributor

Re: JFS intent log recovery-

Here's my script.

# fsck -F vxfs -o full -y /dev/vg01/rsag
# fsck -F vxfs -o full -y /dev/vg01/rorcl_pgm
# mount /sag
# mount /orcl_pgm


I kind of forget what the -y is for. Its not in the manual, but this script is production which means it worked.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
galenr
Advisor

Re: JFS intent log recovery-

Much Obliged... Thank you all for your promt response.
Ramkumar Devanathan
Honored Contributor

Re: JFS intent log recovery-

Hi SEP,

-y option is 'go ahead' option.

when the prompt 'OK to clear log?' appears, automatically the option y is chosen and it proceeds to clear log.

- ramd.
HPE Software Rocks!
John Bolene
Honored Contributor

Re: JFS intent log recovery-

I had replied to the other question with no question there.

Arrg, missed out on some points.

This is normally automatically done at boot time by fsck with no intervention needed.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com