Checking the block size of an existing linux ext3 partition

The tune2fs command can be used in linux to determine the formatting or blocksize used when an ext2 / ext3 / ext4 (?) partition was created.

For example:

#/sbin/tune2fs -l /dev/sda1

will return a page of data values concerning the formatting of the ext2/ext3 partition.

Two lines that are of special interest are:

“Block size:” and “Filesystem features:”

which show the block size (in bytes) and the various special features/options used when formatting the partition (such as if the fs has an ext3 journal).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s