1834461 Members
3136 Online
110067 Solutions
New Discussion

Re: /opt is missing

 
Daniel Fourie
Frequent Advisor

/opt is missing

My /opt folume is missing so I had a look and found out that it has been disabled, I tryed to enable it again but could'nt then I ran a pvdisplay on it and got the following error.

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

Can someone tell me what is wrong.
Thanks

Knowlage is Power
4 REPLIES 4
Michael Tully
Honored Contributor

Re: /opt is missing

Hi Daniel,

I've read your previous posting. Could you please provide the output of this please:

# /usr/sbin/vgdisplay -v /dev/vg01

Regards
-Michael
Anyone for a Mutiny ?
Daniel Fourie
Frequent Advisor

Re: /opt is missing

The output is as follows.

nndnh001(/)# vgdisplay -v /dev/vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".

I have tryed to reactivate it but it gives me the following error.

vgchange -a y /dev/vg01/
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t5d0":
Device busy
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg01/":
Quorum not present, or some physical volume(s) are missing.

Knowlage is Power
Santosh Nair_1
Honored Contributor

Re: /opt is missing

Daniel,

Sounds like your disk is bad. Can you do a diskinfo or a dd on the device, i.e.:

diskinfo /dev/rdsk/c3t5d0

or

dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1k

If both of these gives errors (which I suspect it will), then your disk is bad and will need to be replaced. Hopefully you have backups of the data on the VG.

-Santosh
Life is what's happening while you're busy making other plans
Torsten.
Acclaimed Contributor

Re: /opt is missing

Daniel,

the lvol containing /opt usually belongs to vg00. Did you changed this? Are you mirroring your disks? If you do, try to boot in quorum mode.
- interrupt boot process
- interact with ISL
- type
ISL>hpux -lq

Please post the output of:

#strings /etc/lvmtab

If the diskinfo and the dd command fails, your disk may be bad.

Torsten

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!