Operating System - HP-UX
1833187 Members
2821 Online
110051 Solutions
New Discussion

How to know that disk has errors.

 
Viswanadhan
Regular Advisor

How to know that disk has errors.

Hi Admins,

I have replaced a failed disk on HP UX 11.0 Is there anyway to check the vendor inserted new or not ?The server is located at London, and Im operating from India.

Regards,
Viswa.
7 REPLIES 7
Youssif
New Member

Re: How to know that disk has errors.

Could you check the syslog.log

Regards
Ganesan R
Honored Contributor

Re: How to know that disk has errors.

Hi Viswanathan,

You can compare the product id from "diskinfo" command or description from "ioscan" if you have old outputs.

If vendor replaced same product id then you need to find the serial number using cstm.

By the way, why do you want to check? You can always check the integrity of the disk using dd command. If the disk is well and good then no need to worry.
Best wishes,

Ganesh.
Prashanth Waugh
Esteemed Contributor

Re: How to know that disk has errors.

Hi,

if u have the o/p
#iosacn -fnC disk when disk failed
and check the current output of
#strings /etc/lvmtab

and compare both from that u can guess


Regards
Prashnat
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: How to know that disk has errors.

Hi,

sorry u have to check whether the disk is old or new right?

u can use the diskinfo command

Reagrds
Prashant
For success, attitude is equally as important as ability
DHINESHBABU
Advisor

Re: How to know that disk has errors.

hi,

use this tool

#cstm

cstm>map

it will list ur all devices, in that select ur disk no.(ex disk no is 7)

cstm>sel dev 7
cstm>info
cstm>il


it will so you all details
DHINESHBABU
Advisor

Re: How to know that disk has errors.

hi Viswa,

you use dd also
dd if=/dev/dsk/c0t0d0 of=/dev/null
Viswanadhan
Regular Advisor

Re: How to know that disk has errors.

Thanks to All.