ANTenna Blog -- Hardware & Software
Are Careless Linux Users Giving Ext4 A Bad Rap?
Posted by Matthew McKenzie Friday, May 1, 2009, 10:37 AM ET
There is a new Linux file system in town, and some people see it as a menace. But the real problem may have more to do with users who ignore simple, common-sense IT practices.
In the early 1990s, Linux got its very own file system. Since then, the extended file system (ext) has evolved constantly; perhaps the single biggest innovation came in the late 1990s, when ext3 added journaling capabilities to its predecessor, ext2.
Today, while ext2 remains is use, ext3 is the gold standard for Linux file systems. In fact, developers took nearly a decade to get a successor to ext3 ready for mainstream use, finally removing the "experimental" designation from ext4 late last year.
Since then, ext4 has appeared in several major Linux distro updates. Ubuntu 9.04, for example, offers it as an install-time option but still uses ext3 by default; Fedora 11, which is due out next month, will reportedly use ext4 as its default file system option. Other major distros, including OpenSUSE, will also offer at least optional ext4 support.
Without a doubt, ext4 adds quite a few interesting features. I won't go into all of them here, although if you're interested in the gory details, Linux Magazine has an excellent overview of the new file system. In general, however, ext4 focuses on improving Linux file system reliability and performance -- especially for massive storage devices using large, potentially very complex, directory structures.
Also, since ext4 uses checksumming to protect the integrity of its journal data, it should provide an additional safeguard against lost or corrupt data.
Yet data corruption issues are exactly where, according to some users, ext4 fails to deliver. After reports of massive data loss on pre-release versions of Ubuntu Linux 9.04 started to surface, follow-up articles in some major online IT publications traced the problem to a feature in ext4 called delayed allocation.
Delayed allocation can improve disk performance by organizing and writing data far more efficiently. In ext4, however, this process can create gaps when data is extremely vulnerable to a system crash or power loss. Even the file system's journaling feature cannot recover data lost during this window of vulnerability, which can last up to 60 seconds in some situations.
It's no mystery why Linux users working with ext4 are unhappy when they encounter this issue. Before you label ext4 a problem child, however, let's consider a few important points.
First, keep in mind that delayed allocation isn't a bug -- it's a feature. Other modern file systems, including ZFS (used in Solaris) and HFS+ (Mac OS X), also employ delayed allocation techniques.
Next, consider the fact that some Linux users -- to put it bluntly -- were begging for trouble long before they tried ext4. In many cases, crashes that cause data loss are due to power failures on systems running without UPS protection. In many others, users failed to protect critical data with regular backups.
Both of these problems are unforgivable, and they have nothing to do with ext4 or any other Linux feature. UPS hardware is cheap, easy to use, and readily available. Besides allowing users to shut down a system cleanly during a power failure, they protect systems against crashes due to voltage spikes or brownouts. Spending thousands on a new system and then failing to protect this investment with a $100 UPS is just plain dumb.
Common-sense precautions won't make using ext4 a risk-free experience. Many Linux applications, for example, do not yet incorporate changes that could reduce the chances of data loss on a system running ext4. And developers are also still working on a configuration option for ext4 that would further minimize data-loss risks.
So, ext4 is still very much a work in progress, and for many businesses, the costs of adopting it will outweigh the benefits. Still, it's impossible to manage risk without understanding what causes it in the first place. And clearly, some Linux users are using ext4 as a scapegoat when their own sloppy IT practices finally turn around and bite them.
Hardware & Software
IT
| Open Source
| Storage
This is a public forum. CMP Media and its affiliates are not responsible for and do not control what is posted herein. CMP Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.
Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of CMP Media LLC and may be edited and republished in print or electronic format as outlined in CMP Media's Terms of Service.
Important Note: This comment area is NOT intended for commercial messages or solicitations of business.
- Phone Systems Guide - What kind of phone system is right for your business
- Web Design Guide - What to look for in a Web designer
- Merchant Services Guide - Credit card processing and more
- Online Marketing Guide - Leverage the Net to market your business
- Alternative Financing Guide - How to find the cash your business needs
- View all guides
Explore ANTenna Blog
Most Recent Posts
- Automobiles: The Next Network Security Challenge?
- Cachengo Rolls Out Appliance + Cloud Storage Option
- For SMBs, PayPal Could Mean Risky Business
- Internet Access Options Grow
- Microsoft Patch Tuesday: Ties Record For Most Bulletins (So Why Isn't The IE Hole Getting Fixed?)
ANTenna Blog Topics
- Apple
- Backup
- bMighty
- Business & E-Business
- Business Continuity
- Cloud Computing
- Company Size: 1,100-1,500
- Company Size: 250-999
- Company Size: 50-249
- Company Size: 1-49
- Disaster Recovery
- Economics
- Education
- Entrepreneurs
- Finance/Accounting
- Finance/Banking/Insurance
- Government
- Green Business
- Hardware & Software
- Healthcare
- Hospitality
- How-To
- HR
- Imaging How-To
- International
- Internet/Web
- iPhone
- IT
- Linux
- Management
- Manufacturing/Mining
- Messaging
- Mobile
- Networking & Communications
- Non-Profit
- Open Source
- Operations
- Piracy
- Printers/Printing
- Professional/Creative Services
- Retail
- Unified Communications
- Sales/Marketing
- Start-Ups
- Security
- Server How-To
- Services
- Social Networking
- Software-as-a-Service
- Storage
- Strategy/Analysis/Biz Dev
- Technology/Telecom
- The rANT
- Transportation
- Travel
- Windows
- Web 2.0
- Women in Business
ANTenna Bloggers
ANTenna Blog Roll
- ANTenna Archive
- Ars Technica
- Business Know-How
- ChannelWeb Hot Topics
- ChannelWeb The Chart
- Datamation
- Duct Tape Marketing
- The Entrepreneurial Mind
- Freakonomics
- GigaOmNet
- Guy Kawasaki
- Inc.com
- IT Organization Management
- IT Manager's Journal
- IT Toolbox
- LifeHacker
- Mashable
- MonkeyBrains
- Network Computing Blog
- Scott Berkun
- Search Engine Land
- Search Engine Watch
- SmallBizResource
- SmallBizTechnology.com
- SmallBusinessHub
- Small Business Trends
- TechCrunch
- Technologizer
- Tech Republic
- The Secret Diary of Steve Jobs
- USA Today Small Biz Connection
- Valleywag
- Walt Mossberg Feed - All Things Digital
- Web Worker Daily
- WorkHappy.net
- WSJ's Business Technology
InformationWeek SMB email newsletter!
Browse by Category
IW SMB Tech
Term Of Day:
Boost your tech
vocabulary!
InformationWeek SMB's
TechEncyclopedia
defines more than
20,000 IT terms.
FREE Technology Services Locator!
Search our database of 200,000 solution- provider locations by business activity, technology, vertical market, and customer size. Find a technology partner NOW.
go




