Operating System - HP-UX
1836690 Members
2560 Online
110108 Solutions
New Discussion

Re: Unable to display PV it belong to root volume.

 
sathish subramani
Occasional Advisor

Unable to display PV it belong to root volume.

Hi Every One,

I am Unable to display pv in HP-UX B.11.23 server.

Error Message :

# pvdisplay /dev/dsk/c1t0d0s2
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d0s2":
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/c1t0d0s2".


In Vgdisplay output is

# vgdisplay vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d0s2":
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 ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 1
Act PV 0
Max PE per PV 4353
VGDA 0
PE Size (Mbytes) 32
Total PE 0
Alloc PE 0
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Advance Thanks...
5 REPLIES 5
Jose Mosquera
Honored Contributor

Re: Unable to display PV it belong to root volume.

Hi,

I guess that you have an Itanium server, as you see the new section field is part of disk device file name. Just on a bootable disk, section 0 is the entire disk, section 1 is the Extensible Firmware Interface (EFI) partition, and section 2 is the HP-UX operating system partition. If there is a section 3, it is the optional HP Service Partition (HPSP).

See "man idisk" for more information.

What are you seeing when executes the following commands?

#vgdisplay -v vg00
#strings /etc/lvmtab

Rgds.
Torsten.
Acclaimed Contributor

Re: Unable to display PV it belong to root volume.

Cur PV 1
Act PV 0
Max PE per PV 4353
VGDA 0
PE Size (Mbytes) 32
Total PE 0
Alloc PE 0
Free PE 0


This looks very strange.

What results do you get from


# strings /etc/lvmtab

# vgdisplay -v

# ioscan -fn

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!   
sathish subramani
Occasional Advisor

Re: Unable to display PV it belong to root volume.

Hi,

Please find the output for above mentioned commands....


Torsten.
Acclaimed Contributor

Re: Unable to display PV it belong to root volume.

There is something totally wrong here!

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t0d0s2

but

disk 1 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V
/dev/dsk/c1t0d0 /dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0 /dev/rdsk/c1t0d0s2
/dev/dsk/c1t0d0s1 /dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s1 /dev/rdsk/c1t0d0s3


This is the DVD drive!




I assume this is your boot disks:


disk 0 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3





Your "vgdisplay -v vg00" is truncated, some information is missing.




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!   
KapilRaj
Honored Contributor

Re: Unable to display PV it belong to root volume.

mv /etc/lvmtab /etc/lvmtab.Old
vgscan -av

This is safe, let us know if that fixed all the inconsistencies.
Nothing is impossible