Solved

Hard disk check

Posted on 2001-06-06
7
241 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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi moia,

    Which version of UNIX are you using, UNIX from different vendor use
differnt command for checking the hard disk.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 4

Expert Comment

by:Otetelisanu
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
It must have been the cable for sure.
Thanks a lot.
See you to the next question.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

771 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

11 Experts available now in Live!

Get 1:1 Help Now