USA India
Home Articles UserTV Press Releases Dictionary Books Education Careers B-Channels Resources Forums Blogs Classifieds
Sunday 6 Jul, 2008 eNewsletter Register Login
Archives
Articles By Date
Articles By Category
 
 
 Archives >> Details
It's all in the journal
Journaling promises to increase server and desktop efficiency.
Posted by : Maggie Biggs
Linux Advisor hed: It's all in the journal dek: Journaling promises to increase server and desktop efficiency. blurb: Journaling promises to increase server and desktop efficiency. number of pages:1 by Maggie Biggs

Quite often, we focus on visible things when measuring the growth and usability of Linux and open-source solutions for businesses. Front and center are gains like a choice of graphical interfaces and business application growth, including financial applications, databases, business intelligence tools, and application serving technology.

Yet if we look under the covers a bit, it is obvious that Linux and open source are gaining maturity in other ways that will improve their viability in business settings. One example of this growth can be found in the area of file system enhancements--specifically, adding journaling capabilities to Linux file systems.

It may not be readily apparent why adding journaling capabilities to your file system is an important enhancement for businesses (and individuals). So let's examine what journaling is and how it affects your data.

As you probably know, your file system exists to help you store, access, and modify data. To support your data, your file system has to maintain an internal structure that keeps track of your data. This is called the file system metadata.

A business or home user of Linux will not interact with the file system metadata directly, but instead relies on operating-system drivers that navigate the metadata. This is a fine arrangement as long as the metadata stays organized. If for some reason your file system metadata becomes corrupted, the operating-system driver cannot figure out what is going on and you'll have trouble accessing your data.

This is when you need the process known as fsck. You might notice that fsck runs when you boot up a Linux server or desktop. It's checking the metadata of any file system you will use. It does this to be certain that it is usable before giving you access to the disk.

If the fsck process notes any problems with the file system metadata, it performs an exhaustive check of the metadata and corrects any organizational problems it finds. The file system is then accessible.

This is all well and good. However, it is not an optimal solution. The fsck process must scan the entire file system metadata to seek out and correct problems. This can be a time-consuming process, especially given the ever-growing size of business and personal disk drives.

This is where journaling comes in. Journaling file systems add a new structure--not surprisingly called a journal--to your disk. Before the operating-system driver makes any additions or changes to your disk's metadata, it writes an entry in the journal. You might think of a file system journal as kind of a change log--it keeps track of changes made to the way your data is organized on disk.

Journaling power

The usefulness of journaling really comes into play when your file system metadata becomes disorganized. For example, perhaps you have a server that has gone down due to a power failure. At the time of the server outage, one or more disk operations were likely in progress.

If you did not have a journaling file system, the fsck process would need to check the entire file system metadata upon rebooting your server. By contrast, if you are running a journaling file system, the operating-system driver simply examines the journal's chronological entries and corrects organizational issues in metadata for recently modified entries only. In this way, the journal allows servers that might have hundreds of gigabytes of storage to come online almost instantly.

The principal benefit of journaling file systems is the increase in file system availability. But journaling file systems have other benefits, too. Chief among these is faster disk access and improvements in the way data is organized and stored on disk.

With version 2.4 of the Linux kernel comes the availability of a bevy of journaling file system choices, including ReiserFS, XFS, JFS, GFS, and ext3. If you're setting up a new Linux installation, you'll not have any trouble installing and using one of these new choices.

For example, the SuSE 7.2 Linux distribution supports the ReiserFS journaling file system right out of the box. I've found it as easy to set up as any other file system. And, I've noted faster boot up times and rapid disk access times, especially for smaller files.

But if you're running a pre-2.4 Linux kernel or the 2.4 Linux kernel with a nonjournaling file system, you might be concerned about how to add journaling file system capabilities. Most Linux file system providers have good documentation that will help you get through the process fairly painlessly. Otherwise, you might consult the documentation for your Linux distribution for instructions on how to do the upgrade.

For example, the ReiserFS team supplies instructions for the 2.4 kernel and 2.2 kernel users. Likewise, you can locate materials on how to set up the ext3 journaling file system. Information is also included to help those currently running the widely used ext2 file system to covert to ext3 or to be able to switch between ext2 and ext3.

In addition, Linux distribution providers Red Hat and SuSE supply information on file system configuration via their manuals. Moreover, detailed technical information on journaling and new file system capabilities can be found on IBM's DeveloperWorks.

Whether you are a technical pro or a business leader, changes such as the move to a Linux-based journaling file system make good sense. Good business and technical value can be found by reducing downtime, increasing disk access, and improving the way data is stored and retrieved.

 
 
Archives by Date
 
 
 
 
 
Copyright © 2008 ComputerUser Inc.
About us | Terms of use | Privacy Policy | Legal | Trademark/Copyright | Awards | Advertise | Writer guidelines | Sitemap | Contact | FAQ's | Feedback  | Link to us

Here are the topics we cover computer certification computer careers computer training computer games consulting data recovery data security digital entertainment emerging technology gadget reviews handheld computers hardware reviews home automation home networks home office how-to advice internet linux local companies local news local profiles macintosh mp3 players network security online music online security open-source small-business technology soho software reviews technology books technology dictionary vpn web site reviews wi-fi windows wireless technology tech articles tech news press releases tech dictionary education resources career solutions create your personal blog upload your videos become a writer usergroups special interest group SIG 3com cipts adobe adobe certified expert apc ncpi apple achds acpt acsa actc avaya bea 8.1 certified administrator 8.1 certified architect 8.1 certified developer 9 certified administrator bicsi rcdd checkpoint ccmse ccsa ccsa ngx ccse ccse ng plus with ai ccse ngx cisco access routing and lan switching ccda ccdp ccie ccip ccna ccnp ccnp old ccsp ccvp crmam ip communications optical proctored exams for validating knowledge sales specialist storage networking vpn and security wireless lan citrix cca 3.0 cca 4.0 cca 4.5 cca xp ccea 3.0 ccea 4.0 ccea xp ccia ciw ciw associate ciw certified instructor master ciw admin master ciw designer master ciw enterprise developer security analyst comptia a+ network+ security+ server+ computer associates ca cusa cuse cwna cwna cwsp dell eccouncil cea cep certified ethical hacker chfi e-commerce architect emc emc specialist implemenation technology foundations enterasys ese eta exam express exin exin itil extreme networks ena ens filemaker f7cd f8cd fortinet fortigate foundry cne fujitsu fujitsu guidance software ence hdi css hda hdm hdsa hitachi hitachi certified professional hp ais apc app aps ase certified systems developer csa cse master ase huawei hcne hyperion hcp ibm advanced deployment professional advanced technical expert application developer business process analyst certified administrator certified advanced system administrator certified advanced technical expert certified associate developer certified enterprise developer certified solution designer certified specialist certified systems expert database administrator db2 deployment professional enterprise developer eserver certified specialist ibm on demand business solution advisor solution designer solutions developer solutions expert storage administrator system administator iisfa cifi intel isaca cisa isc cissp sscp iseb itil ism cpm juniper jncia jncis legato lcaa lcea lotus clp lpi lpic level 1 lpic level 2 lpic level 3 macromedia mcafee mcdata csnd microsoft crm mbs mcad .net mcdba mcdst mcitp mcp mcpd mcsa longhorn mcsa 2003 mcsa 2008 mcsd .net mcse mcse 2000 security mcse 2000 to mcse 2003 upgrade mcse 2003 mcse 2003 messaging mcse 2003 security mcse 2008 mcts microsoft business solutions microsoft partner competency mile2 cnsa network appliance nac-na nac-nie naca nace nacp network general sniffer certified professional nokia nokia security administrator nortel ncde ncds ncse ncss ncts novell5 cna 5 cne 6 cna 6 cne 6.5 cne cne upgrade omg ocup oracle 10g dba 10g oca 11i 8i dba 9i dba 9i internet application developer oca ocp8 to ocp8i dba upgrade exam pmi project management professional polycom pcve redhat rhce rhct sair sas institute sas scp saas scp snia snia certified architect snia certified professional snia certified systems engineer snia storage networking certification program administrator professional associate symantec scse scsp scta scts teradata tca v2r5 tcad v2r5 tcda v2r5 tcis v2r5 tcm v2r5 tcp v2r5 tia ccnt ctp tibco tcp trusecure ticsa veritas infraguard chamber of commerce vcp vmware certified professional webex linkedin facebook myspace Professional page layout, image editing, vector illustration, and print production Website design, development, prototyping, and blogging Creation of rich interactive content Industry-standard visual effects and motion graphics Video capture, editing, and production; DVD titling; and digital audio, Adobe Photoshop CS3 extended, Adobe illustrator CS3,Adobe indesign CS3,Adobe Acrobat 8 Professional, Adobe Flash CS3 Professional, Adobe Dreamweaver CS3,Adobe Contribute CS3,Adobe Fireworks CS3,Adobe After Effects CS3 Professional, Adobe Premiere Pro CS3,Adobe Soundbooth CS3,Adobe Encore CS3,Adobe OnLocation,Adobe Bridge CS3,Adobe Version Cue CS3,Adobe Device Central CS3,Adobe Stock Photos, Intel Pentium 4 (1.4GHz processor for DV; 3.4GHz processor for HDV), Intel Centrino, Intel Xeon, (dual 2.8GHz processors for HD), or Intel Core, Duo (or compatible) processor; SSE2-enabled processor required for AMD systems Microsoft Windows XP with Service Pack 2 or Microsoft Windows Vista Home Premium, Business, Ultimate, or Enterprise (certified for 32-bit editions) 1GB of RAM for DV; 2GB of RAM for HDV and HD; more RAM recommended when running multiple components 10GB of available hard-disk space (additional free space required during installation) Dedicated 7,200 RPM hard drive for DV and HDV editing; striped disk array storage (RAID 0) for HD; SCSI disk subsystem preferred Microsoft DirectX compatible sound card (multichannel ASIO-compatible sound card recommended),1,280x1,024 monitor resolution with 32-bit color adapter Blu-ray burner required for Blu-ray Disc creation OHCI compatible IEEE 1394 port for DV and HDV capture, export to tape, and transmit to DV device QuickTime 7.1.2 software required to use QuickTime features Broadband Internet connection required for Adobe Stock Photos* and other services