Incredible rxt4 fsck times

Chuck Forsberg WA7KGX N2469R caf at omen.com
Sat Nov 29 19:43:45 UTC 2008


I recently added a pair of $109 Samsung  terabyte drives to my server.
I foematted them with ext4 on a Celeron 430 system running 64 bit
Rawhide.  What ended as /dev/sdd1 was a single partition on its
drive.  I copied files to it while still on the Celeron system, then
installed the drives on the server and continued copying files to
it until it was completely full.

I was amazed that a forced fsck.ext4 finished in less than two minutes!
The lergest ext3 partitions I have ever used are half that size and take
at least an order of magnitude longer to fsck.

How confident are we that fsck.ext4 is checking everything it needs
to check?  In general, is ext4 really ready for "production"?

[root at omen dev]# time fsck.ext4 -f sdd1
e2fsck 1.41.3 (12-Oct-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
sdd1: 631692/61054976 files (15.3% non-contiguous), 244190000/244190000 
blocks

real    1m35.160s
user    0m29.021s
sys    0m5.601s

[root at omen dev]# time fsck.ext4 -f sde5
e2fsck 1.41.3 (12-Oct-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
sde5: 11/59342848 files (0.0% non-contiguous), 3775665/237368399 blocks

real    0m42.811s
user    0m38.485s
sys    0m0.290s


-- 
Chuck Forsberg    caf at omen.com   www.omen.com   503-614-0430
Developer of Industrial ZMODEM(Tm) for Embedded Applications
  Omen Technology Inc      "The High Reliability Software"
10255 NW Old Cornelius Pass Portland OR 97231   FAX 629-0665




More information about the fedora-test-list mailing list