Posts with the tag HDD

Adjust Spindown Time for HDDs on Mac OS X

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...

Read on

Formatting a USB stick on Ubuntu: Spaceloop XL 8GB bz CnMemory

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 ...

Read on

Test Speed Of Partitions (and therefore also Hard Disk Drives)


The command sudo hdparm -t /dev/sda on my Samsung SpinPoint F1 HD103UJ returns:

 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...

Read on

Testing the Data Rate of a Hard Disk using dd – Here the Samsung SP2504C 250GB

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...

Read on

Ubuntu's Automatic File System Checks

Fix errors automatically on startup

sudo gedit /etc/default/rcS

and change FSCKFIX=no to FSCKFIX=yes

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

Read on