Posts with the tag HDD
If you want to adjust the spindown time of the hard disk drives of your Mac OS X based computer, you can simply run the following command (which will set the spindown from the default 10 minutes to 30 minutes for all HDDs on your system):
pmset -a spindown...
Newly bought the MBR contained:
philipp@lion:~$ sudo dd if=/dev/sdb bs=512 count=1 | hexdump -C [sudo] password for philipp: 1+0 records in 1+0 records out 512 bytes (512 B) copied, 4.8121e-05 s, 10.6 MB/s 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 22 00 ...
sudo hdparm -t /dev/sda on my Samsung SpinPoint F1 HD103UJ returns:
/dev/sda: Timing buffered disk reads: 210 MB in 3.02 seconds = 69.63 MB/sec
Compile seeker (multithreaded) from seeker_baryluk.c using:
gcc -o seeker -O2 -march=native seeker_baryluk.c -pthread
And execute it like this (where the...
If you want to see the read-speed diagram right away, click here.
When I replaced my Samsung SP2504C (250GB) by a larger (and faster one) I copied the full content of the old Samsung hard disk to the new hard disk. I used this opportunity to measure the read speed...
Fix errors automatically on startup
sudo gedit /etc/default/rcS
Force a check of all ext3 partitions on next startup
sudo touch /forcefsck
View results of previous filesystem checks
less /var/log/fsck/checkroot less /var/log/fsck/checkfs