Operating System - HP-UX
1838381 Members
3399 Online
110125 Solutions
New Discussion

Re: Faulty mirror disk? Warning: couldn't query physical volume

 
SOLVED
Go to solution
ian_60
Advisor

Faulty mirror disk? Warning: couldn't query physical volume

Hi,

I suspect I have a faulty mirror disk, but please can someone confirm?

I went to run a make_tape_recovery and got the error :
lvdisplay: Warning: couldn't query all of the physical volumes.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group

ioscan shows me :
#ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 3 0/4/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0

vgdisplay shows:
# vgdisplay /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---

lvdisplay shows:
# lvdisplay /dev/vg00/lvol3
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 240
Current LE 15
Allocated PE 30
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

A diskinfo command shows
# diskinfo /dev/rdsk/c2t1d0
diskinfo: can't open /dev/rdsk/c2t1d0: No such device or address
# ll /dev/rdsk/c2t1d0
crw-r----- 1 bin sys 188 0x021000 Apr 10 2006 /dev/rdsk/c2t1d0

# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group

# pvdisplay /dev/dsk/c2t1d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c2t1d0".

I did try renaming /etc/lvmtab and running vgscan –c, which didn’t change anything
# strings /etc/lvmtab
/dev/vg00
PD6Q
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/vg01
PD59
/dev/dsk/c6t0d0

I cannot see any disk errors in the syslog and the disk itself has a constant green light.

Is this likely to be a hardware fault or corrupt device file issue?

We are running hp-ux 11.11 on a rp3440 box, the system is running normally.

Thanks in advance,
Ian
you only live once
8 REPLIES 8
OFC_EDM
Respected Contributor

Re: Faulty mirror disk? Warning: couldn't query physical volume

dev/dsk/c2t1d0 does not show up in your ioscan.

It's probably down. What type of disk it? Is it local or SAN disk. I'm thinking its a second local HP 73.4GST373454LC disk.

Are you able to physically look at the drive and see if it has power / error lights?

Anything in your syslog indicating a failed drive?

Have you done a plain ioscan? I think the option -k you're using is just listing what was last seen.

Cheers
The Devil is in the detail.
ian_60
Advisor

Re: Faulty mirror disk? Warning: couldn't query physical volume

Hi Kevin,

Thanks for your reply:

Yes it is a second local disk, same as the boot disk

# diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 73.4G
product id: ST373454LC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512
#

The disk has power (a constant green light) and nothing in syslog indicating a failed drive.

I did a plain ioscan which came back with:

# ioscan > /spare/ioscan
# ioscan > /spare/ioscan-output
#
# grep -i disk /spare/ioscan-output
0/0/2/0.0.0.0 disk TEAC DV-28E-N
0/1/1/0.0.0 disk HP 73.4GST373454LC
0/4/1/0/4/0.0.0 disk HP LOGICAL VOLUME

Cheers,
Ian
you only live once
ian_60
Advisor

Re: Faulty mirror disk? Warning: couldn't query physical volume

I will power down the system in our next maintenance window and see if the disk is seen next time it restarts.

Ian
you only live once
OFC_EDM
Respected Contributor
Solution

Re: Faulty mirror disk? Warning: couldn't query physical volume

How important is this system?

You may want to open a support call now. Then if they determine its a bad disk then they can have the parts shipped in time for your next scheduled outage.

Is it hot swappable? Maybe it just needs to be reseated? But plan that out. I don't recall if it's safe on the rp3440 to just pull it out and re-insert. Probably best done during downtime in single user mode.

And you may want to get it out of the VG prior to reseating as well. Once the drive is seen then add it back to the VG and re-mirror.

The Devil is in the detail.
Rita C Workman
Honored Contributor

Re: Faulty mirror disk? Warning: couldn't query physical volume

Before you do anything.........make sure you have a solid recovery of the O/S.

I may be sounding paranoid, but once I lost the mirror root disk, only to find out that my primary had corruption problems as well. So on the reboot-it wouldn't come up until I had both drives fixed.

Rgrds,
Rita
Torsten.
Acclaimed Contributor

Re: Faulty mirror disk? Warning: couldn't query physical volume

The failed disk is the second internal, your boot mirror.

Because the system was booted with this failed drive, you don't see it in ioscan output as NO_HW.

This is normal.

But your LVM config does remember this disk.


You should replace it soon - no downtime is needed!


The *working* disk is in the bottom slot.


The other "disk" you see in ioscan is a logical drive of the smartarray sa640x, indicated by "HP LOGICAL VOLUME".

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!   
ian_60
Advisor

Re: Faulty mirror disk? Warning: couldn't query physical volume

Thanks for the replies, I got away with just reseating the drive.

Cheers,
Ian
you only live once
ian_60
Advisor

Re: Faulty mirror disk? Warning: couldn't query physical volume

Drive reseated
you only live once