Operating System - HP-UX
1836995 Members
1983 Online
110111 Solutions
New Discussion

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

 
MAD_2
Super Advisor

Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

I am having trouble with one of my HDs, the situation is almost similar to the one described in the forum included below, except that the ioscan does not seem to find the device:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x99334b3ef09fd611abdb0090277a778c,00.html

When I do an ioscan of the disks, the device is not listed.

I do a pvdisplay and get the following error:

# pvdisplay -v /dev/dsk/c3t6d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":
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/vg05".
pvdisplay: Cannot display physical volume "/dev/dsk/c3t6d0".

Help please!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
8 REPLIES 8
Martin Johnson
Honored Contributor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

Have you checked the physical device? Is it powered on? Are the cables connected securely? Are there any warning lights on?

HTH
Marty
Steven E. Protter
Exalted Contributor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

diskinfo /dev/dsk/c3t6d0
or
diskinfo /dev/rdsk/c3t6d0

I've been awake all weekend with Ignite trouble and don't remember which way it goes.

ioscan -fnC disk

See what it gets.

If your disk is there, it just needs to be added to a volume group.

strings /etc/lvmtab

Will let you know what the machine thinks its volume group/disk setup is.

Post results and let the forums team help you out.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

Hi Adam,

The problem is as obvious as the error message that the PV is not found. ioscan confirms it. Either you lost the drive or there is a configuration problem on the disk system side that you are not able to see the disk anymore.

What kind of the disk system do you use?.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
MAD_2
Super Advisor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

I'll try to answer everyone's question here:

1.# diskinfo /dev/rdsk/c3t6d0
diskinfo: can't open /dev/rdsk/c3t6d0: No such device or address

2. From the ioscan, the device is not listed. See attached file.

The device in the past was listed as follows (from an old configuration report):

disk 14 10/12.6.0 sdisk CLAIMED DEVICE SEAGATE ST318436LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0

3. The disk is a 17GB disk located in a HP Deskside enclosure (Model A3311A) and the status light of it remains on. I checked all cables so far and rebooted the system like three times. What is very strange is that the other disks in the array found, but not this one.

No warning light are coming on. This is an HP9000 Class D, sorry I forgot to mention tha before.
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
MAD_2
Super Advisor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

Oh, by the way, desperately looking for a solution I also applied this patch as mentioned at the bottom of the forum I quoted before:

PHKL_27178 (s700_800 11.00 LVM Cumulative Patch w/Performance Upgrades)
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
MAD_2
Super Advisor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

Thanks everyone for you help. I ended up retracing steps.

1. Brought the system down one more time and unplugged all wires going to the disk storage enclosure.

2. Physicall reset the hard drive in its bay.

3. Connected everything back up and powered up the system again.

This time the hard drive was recognized, the filesystems all mounted. I think our problem may be one with the cable going to the storage enclosure from the CPU. What I don't understand is why all of the other hard drives in the enclosure were seen but not this one.

Time to do some vgexports, save them in another system, a full fbackup and an ignite backup of vg00.

Thanks!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
monasingh_1
Trusted Contributor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

If the status light remained on all the time before reboot, that is a sure indication that there is something wrong with the disk. It's good htat it cam online afterwards but I would get that disk replaced by a new one
T G Manikandan
Honored Contributor

Re: Help!!! Error "pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":

You can do a

#vgreduce -f /dev/vg05

This should remove the missing physical volumes of the VG.


Thanks