GRUB vs. the Inodes: Who Needs a Bootable System, Anyway?: Page 2

(Page 2 of 3)

There are several options. Distribution maintainers are applying their own patches (see Resources for a sampling). You could switch to GRUB 2 or LILO. Yes, nice reliable old LILO has no problem with 256-byte inodes. GRUB 2 promises to be wonderful in many ways, though its current reliability on production systems is questionable. The current status is
"...usable, but we are still making incompatible changes from time to time. Stabilizing the features is planned in November, 2008."
The quickest and easiest option (when you have control of filesystem creation) is to format any new Ext3 filesystems with 128-byte inodes. This command tells you your e2fsprogs version:
$ mke2fs -V
mke2fs 1.40.8 (13-Mar-2008)
        Using EXT2FS Library version 1.40.8

This is the usual command for creating new Ext3 filesystems with e2fsprogs:

# mkfs.ext3 /dev/sda1

The newer versions that default to 256-byte inodes will emit this warning, and create your new filesystem anyway:

Warning: 256-byte inodes not usable on older systems

Use the uppercase I option to create 128-byte inodes:

# mkfs.ext3 -I 128 /dev/sda1

You can check your work with tune2fs:

# tune2fs -l /dev/sda1 | grep -i 'inode size'
Inode size:               128

The excellent GParted is a front-end to the mkfs command and runs only mkfs.ext3 [devicename] with no way to add options, so you'll have to use mkfs itself.

Page 2 of 3

Previous Page
1 2 3
Next Page

Tags: Linux, support, IT, control

0 Comments (click to add your comment)
Comment and Contribute


(Maximum characters: 1200). You have characters left.



IT Management Daily
Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that datamation.com may send you Datamation offers via email, phone and text message, as well as email offers about other products and services that Datamation believes may be of interest to you. Datamation will process your information in accordance with the Quinstreet Privacy Policy.