Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Questions about jfs2 log.

Posted on 2013-01-29
5
Medium Priority
?
928 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

660 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