Operating System - HP-UX
1748213 Members
3038 Online
108759 Solutions
New Discussion юеВ

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

 
SOLVED
Go to solution
Francis van Dun
Occasional Advisor

couldn't query physical volume "/dev/dsk/c1t6d0":

Hello,

I have an HP9000 HPUX 11. Their are two local disks (c1t6d0 and c2t6d0) in volume group vg00 which contains the local filesystem, including root. I am busy configuring a serviceguard cluster, but when I do cmcheckconf I get error:

Error: Unable to determine a unique identifier for physical volume /dev/dsk/c1t6d0 on node wi000604. Use pvcreate to give the disk an identifier.

When i do "vgdisplay -v vg00", I get errors:
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t6d0":
The specified path does not correspond to physical volume attached to this volume group.

Is the first disk defect? (How can I check that).

How can I recover from this?

Many thank's,
Francis
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Start with ioscan: "ioscan -fnCdisk". If you see it (and it is CLAIMED) in ioscan, next check the integrity of the disk with dd: dd if=/dev/dsk/c1t6d0 of=/dev/null bs=1024k. If that completes successfully (no I/O errors), then it's time to use cstm to exercise the disk.


Pete

Pete
Sanjay_6
Honored Contributor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Hi Francis,

Looks like a physical disk problem. Do a dd on /dev/rdsk/c1t6d0 and see what it says.

dd if=/dev/rdsk/c1t6d0 of=/dev/null bs=1024k

When you do a vgdisplay -v /dev/vg00 do you see the mirrored filesystems as available/stale

What this means is that a copy of this lv is in stale condition probably due a problem on a physical disk for this VG.

Hope this helps.

Regds
Robert-Jan Goossens
Honored Contributor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Hi Francis,

Try a read test on the disk.

# dd if=/dev/rdsk/c1t6d0 of=/dev/null bs=256k

Regards,
Robert-Jan
Sanjay_6
Honored Contributor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Hi Francis,

If this is infact a problem with the physical disk, you need to get it replaced and bring it back online.

This procedure from itrc is a very useful doc in the replacement of LVM controlled disk,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073905420

The itrc doc id is KBAN00000347.

Hope this helps.

Regds
Olivier Masse
Honored Contributor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Try 'lssf /dev/dsk/c1t6d0'. If it comes back with "????" entries as the hardware path, the device name might be bogus. If that's the case, do an 'ioscan -fnC disk' to find the correct path, then the quickest way is to 'rmsf /dev/dsk/c1t6d0', 'rmsf /dev/rdsk/c1t6d0' and insf it back under the same name with the correct hardware path. Or else you'll have to remove c1t6d0 from vg00, then add the new disk device, and this is a pain to do if all LVs are mirrored.

LVM is pretty solid but be careful anyway. Good luck.



Xavier Gutierrez_2
Frequent Advisor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Hi, Francis.

Try:

vgcfgrestore -n vg00 /dev/rdsk/c1t6d0
mkboot /dev/rdsk/c1t6d0
mkboot -a "hpux -lq" (or whatever other string you use)
vgchange -a y vg00
lvlnboot -R /dev/vg00
lvlnboot -v /dev/vg00 (to check if the previous step worked)
vgsync vg00

If it does not work, get the disk replaced by Hp ASAP...


Cheers,
Javier.
Francis van Dun
Occasional Advisor

Re: couldn't query physical volume "/dev/dsk/c1t6d0":

Thank's everybody for the suggested tests!

I think it must be a defective disk.
I'll contact HP.

#ioscan -fnC disk
disk 1 0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
disk 2 0/0/2/1.6.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0

#dd if=/dev/rdsk/c1t6d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out

#dd if=/dev/dsk/c1t6d0 of=/dev/null bs=1024k

/dev/dsk/c1t6d0: Device busy
dd: cannot open /dev/dsk/c1t6d0