Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating a bad jfslog

Troubleshooting

Formating a bad jfslog

by  MoshiachNow  Posted    (Edited  )
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.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top