Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2004, 03:19 AM
|
#1
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
Command to check hard drive
Hi folks,
RH8.0
Which will be an effecive command checking the harddrive and fixing errors found.
# hdparm -tT ???
# fsck /dev/hda ???
Remark:
#df
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 37389260 15048948 20441028 43% /
/dev/hda1 46636 9290 34938 22% /boot
none 256976 0 256976 0% /dev/shm
TIA
B.R.
satimis
|
|
|
06-23-2004, 03:27 AM
|
#2
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
It all depends on what errors you have. If you have filesystem corruption, then yes - fsck is what you'll want to use. hdparm -tT measures the throughput speed of the disk but doesn't really check for errors. For monitoring SMART data (for hardware failure notices) you can use smartctl from the smartmontools suite.
Håkan
|
|
|
06-23-2004, 03:57 AM
|
#3
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Hi Håkan,
Tks for your advice.
At present there is no error warning on running my OS.
Previously on one or two occasions the OS could not start hanging on 'Welomme to...' at booting. I switched off the computing and tunred it on again. It booted straight forward. I wonder whether there is any error on the OS. Therefore I want to render a complete check.
B.R.
satimis
|
|
|
06-23-2004, 09:24 AM
|
#4
|
Member
Registered: Feb 2004
Posts: 66
Rep:
|
hi,
U can use the utility 'badblocks' check the man page for this ...
n comin to fsck, the file scanner tool... U have to unmount the partisions
|
|
|
06-25-2004, 02:42 AM
|
#5
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
Hi naren
Quote:
U can use the utility 'badblocks' check the man page for this ...
n comin to fsck, the file scanner tool... U have to unmount the partisions
|
Are there other tools to check irregularities on hard drive and/or OS without unmounting the partitions
B.R.
satimis
|
|
|
All times are GMT -5. The time now is 12:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|