1753347 Members
4995 Online
108792 Solutions
New Discussion юеВ

Verify Disk

 
SOLVED
Go to solution
Qcheck
Super Advisor

Verify Disk

We got the following error:

Disk at hardware path 0/1/1/1.0.0 : Media failure

I did verify and for me everything looks okay. But how can I verify there is no hard disk error. I just want to verify with you gurus, to make sure I am not missing anything....

Thanks

12 REPLIES 12
Ganesan R
Honored Contributor
Solution

Re: Verify Disk

Hi,

Use dd command to verify the media errors

Command syntax would be

#dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k
Best wishes,

Ganesh.
Qcheck
Super Advisor

Re: Verify Disk

Thank you Ganesan, But I issued that command over an hr ago, and still the prompt didn't come back yet. Do u think it is a problem or still working? What should I do?
Andres_13
Respected Contributor

Re: Verify Disk

The time it will take varies depending on your disk's size and the io rate the server might be issuing.

Also you can check syslog.log for errors and you can do a pvdisplay -v /dev/dsk/cxtydz and check for "stale" status

Regards.
Qcheck
Super Advisor

Re: Verify Disk

The dd command is still running and I am trying to kill and couldn't do it.
Adam W.
Valued Contributor

Re: Verify Disk

I would say it safe afte that amount of time to say you need to get the disk replaced. if the dd doesn't return, it is a safe assumption. try:

ioscan -fnC disk
pvdisplay -v
There are two types of people in the world, Marines and those who wish they were.
Andres_13
Respected Contributor

Re: Verify Disk

Is it working?

if dd appears to be hunged i would ask you something else:

disk capacity?

vgdisply -v
pvdisplay -v cxtydz | grep stale
ioscan fn

Regards!

LJenkins
Occasional Contributor

Re: Verify Disk

HI Pratibha

First in this case I will check the device using the command

/usr/sbin/ioscan -fn | more

with the log result I will find the correct path 0/1/1/1.0.0 and i would check if the device is CLAIMED or not.

and if you need to check the hard disk use

/usr/sbin/ioscan -funC disk


if you need anything else please provide the result of the command

I hope this help you

Regards

Luis Jenkins
Bill Hassell
Honored Contributor

Re: Verify Disk

Do you see disk errors in syslog? Look in /var/adm/syslog/syslog.log. The dd command should run at about 2GB/min, so 100GB would need less than an hour. If you kill the dd command, it will tell you the number of records completed so far. With bs=1024k, the records are 1MB each. If the records completed is very low, then dd is stuck trying to talk to the disk. This is a good indication of a disk failure too.


Bill Hassell, sysadmin
Trng
Super Advisor

Re: Verify Disk

hI pRathiba,

check in syslog and check for any eventlog reported by EMS .

check diskinfo listing properly or not

and then use dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k to verify


regards
skr
administrator