1832585 Members
3207 Online
110043 Solutions
New Discussion

dmesg

 
SOLVED
Go to solution
Ravinder Singh Gill
Regular Advisor

dmesg

when I did dmesg I got the following as part of my output. Can anybody advise what this is & what action should be taken?


SCSI: Read error -- dev: b 31 0x003000, errno: 126, resid: 2048,
blkno: 8, sectno: 16, offset: 8192, bcount: 2048.
LVM: vg[1]: pvnum=3 (dev_t=0x1f003000) is POWERFAILED

SCSI: Write error -- dev: b 31 0x003000, errno: 126, resid: 43008,
blkno: 1238, sectno: 2476, offset: 1267712, bcount: 43008.
percival:/#
16 REPLIES 16
Patrick Wallek
Honored Contributor

Re: dmesg

Check your disks and see if you have a disk that has died.

The worriesome message is:
LVM: vg[1]: pvnum=3 (dev_t=0x1f003000) is POWERFAILED

That indicates the c0t3d0 has potentially failed.
Torsten.
Acclaimed Contributor
Solution

Re: dmesg

Hi Ravinder,

that seems to be a bad disk.
Try

ioscan -fnkCdisk

and look for "NO_HW" to find it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff Schussele
Honored Contributor

Re: dmesg

Hi Ravinder,

It means that at some point - dmesg is not time stamped, check the syslog.log for date/time - the system saw a problem with /dev/dsk/c0t3d0
This might have been a transient problem, but at the time the system could not access it.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alex Lavrov.
Honored Contributor

Re: dmesg

Yout have a bad disk in your system.

Look at this line:

dev: b 31 0x003000

If you do "lsdev | grep 31", you'll see that 31 is number of disk driver, so the failed device is disk.

To find the disk that failed, you must look at "0x003000". I guess the disk is /dev/dsk/c3t0d0.

Do, "ioscan -fnCdisk" and look at the lines that have "NO_HW" in them. If you see it, than defentely the disk is gone. To verify it, do:

dd if=/dev/rdsk/c3t0d0 of=/dev/null bs=8192

You probably will see error messages or dd will hang. Call HP support and replace the disk.

Alex.



I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: dmesg

Sorry, the disk is dev/rdsk/c0t3d0 ofcourse.

My mistake.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Cem Tugrul
Esteemed Contributor

Re: dmesg

Ravinder,

What about the lights on this disk?
amber/green?

it seems something wrong on your power supply
of the disk.

ioscan -fnCdisk?
(As Torsten mentioned) check state of disk
CLAIMED or NO_HW

Good Luck,





Our greatest duty in this life is to help others. And please, if you can't
John E.Ophious
Regular Advisor

Re: dmesg

G'day mate,

Just as all my other partners have posted, it looks like you could potentially have a bad disk. However, I would like to add that before tossing it in the trash, you may want to examine the disk for any loose connections/bent pins/missing terminators, etc. I've had this happen in the past where a simple reseat would solve the problem. If this does work, get a good backup asap and be sure to monitor this disk closely afterwards for any performance degradation.
Ravinder Singh Gill
Regular Advisor

Re: dmesg

i did an ioscan -fnC disk and all the disks showed as claimed.
Siju Jose_1
Frequent Advisor

Re: dmesg

Hi Ravinder

I would suggest you run a cstm .Look for errors in the output and REPLACE the drive at the earliest.

a.cstm
b.map --select the device Num
c.sel dev "dev no"
d.info
e.infolog

Siju
Pat Lieberg
Valued Contributor

Re: dmesg

You could do a strings on /etc/lvmtab and see if that device is in use. Perhaps for some reason the device files exist for a disk that is no longer in the system?

If its an in-use disk, I woud try doing the dd test Alex mentions above.

If it seems to be working now, I would watch if closely. This could be a sign of impending failure.
Bill Hassell
Honored Contributor

Re: dmesg

ioscan does not test disks, it just requests a SCSI identification. Yoiu definitely have a bad disk and not only dmesg but syslog are probably full of errors. Make sure you have a good backup. If you have disk mirroring, replacement is fairly easy.


Bill Hassell, sysadmin
Mel Burslan
Honored Contributor

Re: dmesg

It is beneficial for you to check the syslog for the same type of powerfail messages. Sometimes they are immediately followed by power restored to PV such and such messages. Even if the power to the PV is being restored, it is a good indication that there is somethign wrong with the hardware. A service call is definitely in order for you.
________________________________
UNIX because I majored in cryptology...
Ravinder Singh Gill
Regular Advisor

Re: dmesg

I checked ioscan again and this time the disk is showing as NO HW. I have placed a call with HP as they provide us support. Thanks guys. I will take your advice on board and keep looking into it myself. If you have any other tips please let me know. Thanks
Alex Lavrov.
Honored Contributor

Re: dmesg

Hmm :) Assigning some points to the ppl that helped you the most will be nice ;-)

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Ravinder Singh Gill
Regular Advisor

Re: dmesg

What does the dd command that Alex mentions above try to do exactly?
Alex Lavrov.
Honored Contributor

Re: dmesg

dd reads byte by byte from the "if" and writes it to "of". That's input file and output file. This was you check that you can read the whole disk.

If the disk is faulty, you'll probably get errors from dd, that it couldn't read some block.

By the way, that's the first thing HP ask you to do.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)