DISK Diagnostics on Fedora Core 3

attention: if you are not sure what is this please do not procees

1. To check bad blocks on hard disk, use badblocks command

example:

its located at /sbin, so the command will look loke this (must be a root to do this)

root@sqew sbin # ./badblocks -s -v -n -b 512 -c 4096 /dev/hdX (X is your hdisk)

Checking for bad blocks in non-destructive read-write mode

From block 0 to 29498175 (depends on ur hdisk, you can choose to diag on selected blocks)

Checking for bad blocks (non-destructive read-write test)

Testing with random pattern: done

Pass completed, 0 bad blocks found.
root@sqew sbin #

2. to improve IDE performance

im quite lazy rite now, just follow and read here
http://gentoo-wiki.com/HOWTO_Use_hdparm_to_improve_IDE_device_performance


0 comments: