|Sometimes I feel like I don't know Linux at all|
|Written by Markus Ewald|
|Friday, February 11 2011 12:10|
I'm running a small home server that, amongst many other things, stores my music collection, software, virtual machines and more. As any computer user is able to testify, no matter how much hard drive space you've got on a rig, you will run out of it eventually.
So last week, I decided to replace my aging 500 GB drives with three brand new 2 TB drives (my choice fell on Western Digital's WD2000EARS drives, btw - only 5400 RPM but dirt cheap and because this is for long-term storage, all I want is space, not speed). I partitioned all three of them using the exact same commands in fdisk (launched with fdisk -c -u /dev/sd*). Before I did that, all drives appeared with identical informations when I ran fdisk -c -u -l. Now?
The first drive now has 18 heads and 6 sectors/track:
The second one got 69 heads and also 6 sectors/track:
And the third one got 18 heads again, but only 3 sectors/track:
I know that heads and sectors on modern hard drives no longer have any relationship to the physical number of heads and sectors on the drive, but why do I get 3 different results from running the same command 3 times, on 3 identical drives?
They all have the same capacity in the end and my raid array is running fine, but this confuses the hell out of me :D