Solved

Hard disk check

Posted on 2001-06-06
7
242 Views
Last Modified: 2013-12-27
How do I detect hard disk problems ?
0
Comment
Question by:moia
7 Comments
 
LVL 2

Accepted Solution

by:
jonke earned 50 total points
ID: 6159069
You can use the format utility:

at the command line, type format - select disk number - then choose analyze, then the type of check you wish to test.

Alternately, if you think you have a problem with a specific disk, you can check the /var/adm/messages file for errors:

# cat /var/adm/messages |grep -i error
0
 
LVL 5

Expert Comment

by:Nisus091197
ID: 6159994
If the OS detects problems it will report them to the syslog utility.  This will write the messages into the /var/adm/messages file on the loghost, typically the localhost.

There is a system utility called 'fdisk' which does check your disks on bootup.

If you are referring to disk space problems, you can use 'df' and 'du' to report on disk space usage.

Regards, Nisus.
http://www.omnimodo.com
0
 
LVL 38

Expert Comment

by:yuzh
ID: 6162166
Hi moia,

    Which version of UNIX are you using, UNIX from different vendor use
differnt command for checking the hard disk.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:Otetelisanu
ID: 6162597
in eprom modus

help diag
and you see all diag for hard problems
Example:
probe-scsi-all

In eprom modus with Stop A other
shutdown -y -i0 -g0
0
 

Author Comment

by:moia
ID: 6163251
I've found "SCSI bus MESSage in phrase parity error" in /var/adm/messages. This was 3 days ago. Now it seems to be OK.
Anyway, what does this message mean ?
Thanks jonke
0
 
LVL 2

Expert Comment

by:jonke
ID: 6163511
These indicate bus errors as opposed to disk errors. You often get this type of error when a scsi bus is not properley terminated, or a similar kind of thing.

The fact that it happened three days ago, and has now stopped of its own accord makes this unlikely though. It is just as likely that you may have old controller firmware revisions / patch revisions - and that updating these would help.

If this only ever happened once or twice, maybe a cable became loose.

If it is a regular occurence, try to look for a pattern - perhaps when there is heavy i/o to the disk sub system at particular times.

The first thing a support desk would tell you to do - if there was no obvious physical course - would be to look at firmware and patch revisions though.
0
 

Author Comment

by:moia
ID: 6163580
It must have been the cable for sure.
Thanks a lot.
See you to the next question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
File sharing syncing(Production to DR, DR back to Production) 2 28
llcommand 6 87
IBM flash storage 840 15 58
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 73
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now