Montag, 31. Mai 2010

1 Tb hard disk appears as 33Mbyte disk on a Gigabyte mainboard

If a 1Tb hard disk that is installed on a Gigabyte motherboard appears to have
a size of 33 Mbyte after some time then do the following:

>hdparm -N /dev/sdc (assuming that the disc appears as /dev/sdc)
/dev/sdc:
max sectors = 1953525168/1953525168, HPA is disabled

write the number that appears behind the slash in the following line:

>hdparm -Np1953525168 /dev/sdc


Then reboot the machine.
The disc has its original size and all data is still there.
Thanks to:

http://www.mail-archive.com/linux-ide@vger.kernel.org/msg16327.html

Keine Kommentare: