Linux.com

Change sector size

Link to this post 18 Jul 09

Hello
i would like to change the sector size of my HD
from 512 to 520
How can i do this?
i tried fdisk without any luck

Link to this post 19 Jul 09

Short answer: no you cannot. The sector size is set by the manufacturer of the drive. 512 bytes is pretty much a standard these days. However, if you mean can you change the block size (which is a multiple number of sectors), that can be done when you format a file system, such as ext2 or ext3. BUT, you certainly cannot set it to 520 bytes. As I said, the block size has to be a multiple number of sectors. IE, N x 512 bytes.

So, why do you want to do this?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board