System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

vgdisplay: Warning: couldn't query physical volume boot off mirror

SOLVED
Go to solution
Douglass A Anderson
Frequent Advisor

vgdisplay: Warning: couldn't query physical volume boot off mirror

I have booted off the mirror (/dev/dsk/c2t1d0) and am getting the error.


vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.

root@ken23:/root # strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0

disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0

HPUX 11i V1.

5 REPLIES
Torsten.
Acclaimed Contributor
Solution

Re: vgdisplay: Warning: couldn't query physical volume boot off mirror

Dead disk? Check with "dd"!

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!   
R.K. #
Honored Contributor

Re: vgdisplay: Warning: couldn't query physical volume boot off mirror

Hi Douglass,

>> I have booted off the mirror
Any particular reason for this?

Has the disk c2t0d0 gone bad?

Try following tests on c2t0d0:
-diskinfo /dev/rdsk/c2t0d0
-pvdisplay /dev/dsk/c2t0d0
-dd
Don't fix that what ain't broke
Douglass A Anderson
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume boot off mirror

Reason I booted off this second disk was I needed to change file system sizes of vg00.

I created an ignite tape no errors.
Loaded ignite onto the disk with no errors.
After reboot the system was missing PATH and some directories. (/var/adm, /var/spool, /opt/programname)

Very odd, so I booted off mirror to get the system back up

# diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 36.4G
product id: MAS3367NC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
# pvdisplay /dev/dsk/c2t0d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
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/c2t0d0".
Douglass A Anderson
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume boot off mirror

# dd if=/dev/dsk/c2t0d0 of=/dev/null
11145571+0 records in
11145570+0 records out
Douglass A Anderson
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume boot off mirror

vgreduce -f -m 0 /dev/vg00/lv____ /dev/dsk/c_t_d_