×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Troubleshooting

Formating a bad jfslog by MoshiachNow
Posted: 7 Feb 02 (Edited 2 Jun 05)

    Format jfslog.

If the jfslog has been damaged for any reason, it will cause the filesystems to not be mounted.
Assume the filesystem /dataVolumes/proof7.2.0 fails to mount and fsck does not help.
Find out the name of the jfslog that belongs to this filesystem:

#  lsvg -l svg2

svg2:
LV NAME   TYPE    LPs   PPs   PVs  LV STATE      MOUNT POINT
slv2.0    jfs         1080  1080  2    open/syncd    /dataVolumes/proof7.2.0
loglv02   jfslog  1     1     1    open/syncd    N/A

we will reformat the jfslog. Enter:

1.all filesystems associated with the jfslog *must* be unmounted prior to running logform !

2. logform  /dev/loglv02

This command will ask the horrible question "Do you wish to destroy the log?". Just say yes.  This will get you a new, clean jfslog.
Then we'll run fsck on this filesystem to ensure it's back.

Back to IBM: AIX FAQ Index
Back to IBM: AIX Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close