Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been studying about diskstats lately, and I get that the amount of hdd read comes in sectors. But in most places I've noticed that there exists a slight misunderstanding about sectors and blocks. So, what type is this sector which is read by the diskstats? Can I figure it out with:

dumpe2fs /dev/sda7 | grep 'Block size'
share|improve this question
up vote 1 down vote accepted

blocks are logical "groups" or sequences of space. Usually 1 block = 4096 bytes. They represent the smallest amount of space that can be reserved for a file. ie. you have a 12 byte file, your filesystem is still going to reserve a whole block (4096 bytes default for ext3)

sectors refers to a physical ring on the HDD (think of the grooves on a vinyl record)

To answer your question the command you ran will show the block size of that partition.

share|improve this answer
Thanks, h3rrmiller, you answer my question. I would vote in your answer, but i have not my 15 point to do it. – lucastamoios Nov 1 '12 at 15:01
@lucastamoios you can still accept my answer (check mark) – h3rrmiller Nov 1 '12 at 15:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.