Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm considering a new install/upgrade, and I thought I'd like to try JFS as my file system this time. From what I've read, an external journal gives better performance, but I have a few questions.
First, can different partitions share an external journal, or does each partition require its journal to be in a separate partition?
Scenario A (shared journal) would be: / on /dev/sda1 with journal on /dev/sdb1, /usr on /dev/sda2 with journal on /dev/sdb1, and /home on /dev/sda3 with journal on /dev/sdb1.
Scenario B (individual journals) would be: / on /dev/sda1 with journal on /dev/sdb1, /usr on /dev/sda2 with journal on /dev/sdb2, and /home on /dev/sda3 with journal on /dev/sdb3.
Based on hints in various articles, it appears that JFS might be able to do Scenario A, but not with Linux; meaning that Scenario B is my only option if I want multiple JFS partitions, each with an external journal. Any confirmation one way or the other?
Second, how big should the journal partition(s) be? My understanding (from Wikipedia - yeah, I know) is that JFS journals are fixed at 32 MB. Should journal partitions be exactly 32 MB, or should I allow some overhead? If Scenario A is viable, should the shared journal be 32 MB (plus overhead), or 32 MB per each "share" (96 MB plus overhead)?
Third, any recommendations/hints/warnings/experiences with JFS that anyone would care to pass on?
Distribution: openSuSE 13.2 / 12.3_64-KDE, Ubuntu 14.04, Mint 17
As I understand it, sharing journals wouldn't really make sense, but this is also depending from the type of journaling you want to use. I use ext3 with 400 MB journals per partition and data journaling. You might want to read up the ext3 man and info pages for some background and also