Solved

Questions about jfs2 log.

Posted on 2013-01-29
5
858 Views
Last Modified: 2013-01-29
OK, here he go wmp..

1- Which is better to use, INLINE or JFS2LOG?
2- Is possible to see the usage of the JFS2 log lv?
3- What happen if I umount a /filesystem, logform /dev/hd8 and mount /filesystem? The data is lost?

Not clear at all about how JFS2 log works..;)
0
Comment
Question by:sminfo
  • 3
  • 2
5 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38831525
Hi, and welcome back in our new year 2013 - hope you had a good start!

1) Hard to say. Some people prefer having a distinct log per filesystem, and with this setup an inline log is much easier to handle. With inline logging there is a distinct log per FS by design, no need to create lots of new logvolumes.
On the other hand, if you have an FS with heavy metadata activity (create/delete/update) you could consider using a separate logvolume on a separate disk for performance reasons.
Anyway, a logvolume should be mirrored if feasible, and an outline log can have multiple copies even if the original FS is not mirrored (well, a rare scenario, I assume ...).
If an FS with an inline log is mirrored the "log" part is automatically mirrored too.

I, for one, tend a bit more to inline logs ...

2) If with "usage" you mean "filling level" - no you can't see that. Only the FS itself is aware of what is placed where in the log volume.
If you mean "activity" instead - this can be monitored with "lvmstat" just as any other logical volume.

3) Formatting a log with logform destroys the log records contained therein, regardless of the log type used. Formatting an outline log volume means reformatting the whole volume, running logform against a filesystem volume containing an inline log means reformatting only the "log" part of that volume which doesn't affect filesystem data.

A filesystem journal keeps track of changes to metadata, such as the superblock, inodes, pointers, directories. In case of a filesystem crash the information contained in the journal is used to recover this metadata.


wmp
0
 

Author Closing Comment

by:sminfo
ID: 38831683
here I am wmp.. as always, with my topas at 100% USED...;)

OK, I understood everything.. thanks...
0
 

Author Comment

by:sminfo
ID: 38831698
BTW, do you have EMC storage there? I have a problem (case on IBM now) about mksysb of LPATRs and the EMC's powerhdisks and multipath.... tell me and I open a new question...;)
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38831889
Sorry, no EMC anymore. And even in those old days we never had a rootvg on it.
0
 

Author Comment

by:sminfo
ID: 38832337
heheh... I'm suffering with this )*(&*)()&PJM EMC.....:-(

see ya!
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question