Re: harddisk diagnostics

From: Ben (ben_at_en-ninguna-parte.com)
Date: 04/18/04


Date: Sun, 18 Apr 2004 08:31:59 -0400

Michael Tosch wrote:
>
> In article <c5q45g$itp$1@mawar.singnet.com.sg>, Irenicus <jorikai@singnet.com.sg> writes:
> > Hi guys,
> > any command to check health of hard disk. Recently I've got some bus
> > errors, any commands for this also?
> >
> >
>
> Check /var/adm/messages for disk errors.
> Errors stating "Vendor ..." means the disk has reported a problem.
>
> Further diagnostic in Solaris is
>
> format
> > analyze
> > read
>
> If you're having SCSI transport errors, you should watch out for
> a disk firmware upgrade, or Solaris disk- and SCSI-driver updates.
>
> If a program aborts with
> bus error
> or
> segmentation fault
> it is usually a bug in the program!
>
> --
> Michael Tosch
> IT Specialist
> HP Managed Services Germany
> Phone +49 2407 575 313
> Mail: michael.tosch@hp.com

And make sure you've got a good/recent backup.

Try a physical inspection if possible. Reseat the drive. Check your
disk or backplane cabling for crimps/breaks.

On SCSI disks you can use

format -> <disk> -> defect -> grown

Grown defects should be zero on a healthy disk. Check it periodially to
see if there's an increase.

also

iostat -E ... see the manpage for other things to try/watch.

Run detailed OBP diags to see if the system board/controller is having
an issue or failing. Controllers and system boards can and do go bad,
too, so it may not be a disk problem in itself.

If the physical doesn't turn up anything, watch for increases in those
counters over a few days of normal use, provided performance isn't
clearly nose-diving. Balance out your facts and decide what to do. On
a production box, or any box really, frequent errors or increase in
those counters makes a pretty clear case for replacement.



Relevant Pages

  • Re: New HDD Installation
    ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
    (microsoft.public.windowsxp.general)
  • Re: Forgot to put old_rootvg to sleep before reboot - How to Wake
    ... Performs operations on existing alternate rootvg volume groups. ... To rename Alternate Disk Volume Group: ... The alt_rootvg_op command can be used to determine which disk is the ... flag) can be executed at this time. ...
    (comp.unix.aix)
  • PC8477 Demo Program
    ... The PC8477 Demo Program is designed to allow access to all software commands and registers of National Semiconductor's PC8477 Advanced Floppy Disk Controller. ... The left center indicates the number of bytes transferred during the last command issued. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Windows XP boot failure
    ... If you have a friend with a real Windows ... read/write to the drives using a command line ... For more information on a specific command, ... CHKDSK Checks a disk and displays a status report. ...
    (microsoft.public.windowsxp.basics)
  • Re: New HDD Installation
    ... DISKPART> list disk ... DISKPART> select partition 1 ... You can do the same thing starting with the "list volume" instead of the "list disk" command, then selecting volumes to gain focus. ... At this point I haste to point out that this is mostly for educational purposes and for you to gain an inner working knowledge of disks and partitions and how Windows works with them. ...
    (microsoft.public.windowsxp.general)