Linux Today: Linux News On Internet Time.

Weekend Project: Linux Filesystem Tune-up

Nov 29, 2010, 16:03 (0 Talkback[s])
(Other stories by Nathan Willis)

"If the thought of getting up at 3AM on "Black Friday" and dragging yourself across town to stand in line for sales doesn't fill you with the holiday spirit, why not spend your weekend doing something more meaningful, like cleaning up your Linux filesystems? To be sure, a modern Linux file server probably isn't in need of being torn down and rebuilt, but if you're like a lot of us, you partitioned those disks several releases ago with lofty intentions of leveraging extents, delayed allocation, B+ trees, and all sorts of other advanced features, only to let them languish at their default settings instead. Well, the time to tune the filesystem is now: grab a storage medium, a terminal, and optionally a turkey leg, and let's get to work.

"We can break down the task by looking at each advanced filesystem in turn. You may run Ext4 on all of your disks, but you may also have a mix of other modern filesystems in there, too. In order to not get confused, run mount -l and jot down the device name (e.g., /dev/sda6) and filesystem (whatever is listed right after "type" in the output) for each mounted disk, then consult the appropriate section.


"The XFS filesystem originally written for Irix at Silicon Graphics is designed to be high-performance, especially when dealing with "large" files"

Complete Story

Related Stories: