HPE 9000 and HPE e3000 Servers
1752681 Members
5691 Online
108789 Solutions
New Discussion

Re: Physical volume unavailable HP-UX

 
Florant
Occasional Advisor

Physical volume unavailable HP-UX

Hello,

Anyone can help ,which is the right way to replaced a disk configured as dump device with Physical volumes unavailable, below some details that could help to undestand better te situation:

root> model
9000/800/rp7410
HP-UX sdp2 B.11.11

lvlnboot -v ###
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c6t6d0 (1/0/14/0/0.6.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0)
/dev/dsk/c5t14d0 (1/0/12/0/0.14.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c6t6d0
/dev/dsk/c5t14d0
Root: lvol3 on: /dev/dsk/c6t6d0
/dev/dsk/c5t14d0
Swap: lvol2 on: /dev/dsk/c6t6d0
/dev/dsk/c5t14d0
Dump: swap on: /dev/dsk/c0t6d0, 0

root> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c6t6d0
/dev/dsk/c0t6d0
/dev/dsk/c5t14d0

root> vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
--- Logical volumes ---

LV Name /dev/vg00/swap
LV Status available/syncd
LV Size (Mbytes) 4052
Current LE 1013
Allocated PE 1013
Used PV 1

--- Physical volumes ---
PV Name /dev/dsk/c6t6d0
PV Status available
Total PE 4340
Free PE 1791
Autoswitch On

PV Name /dev/dsk/c0t6d0
PV Status unavailable
Total PE 4350
Free PE 3337
Autoswitch On

PV Name /dev/dsk/c5t14d0
PV Status available
Total PE 4340
Free PE 1791
Autoswitch On

Thank you in advance.

Regards,

Florant

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Physical volume unavailable HP-UX

Is the disk already replaced?

 

Basic steps are

- pvchange -a n ...

- swap disk

- ioscan

- vgcfgrestore ...

- vgchange ...

- lvlnboot -R


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!   
Florant
Occasional Advisor

Re: Physical volume unavailable HP-UX

Spoiler
 

Hello Torsten,

Thank you for your reply. This system does not have LVM online replacement (OLR) functionality available so in this case i can not use this option. Is there any other idea for this ?

Regards,

Florant

Torsten.
Acclaimed Contributor

Re: Physical volume unavailable HP-UX

If the disk is NO_HW in ioscan, just skip the lvchange step and pull the disk.


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!   
Florant
Occasional Advisor

Re: Physical volume unavailable HP-UX

Ioscan shows it as claimed:

ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0

Torsten.
Acclaimed Contributor

Re: Physical volume unavailable HP-UX

Try

 

vgchange -a y vg00

and check again with vgdisplay.

 

OR

 

with you want to replace the disk, replace it now, since it is UNAVAILABLE in vgdisplay


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!   
Florant
Occasional Advisor

Re: Physical volume unavailable HP-UX

Hello

vgchange -a y fails –a option is not recognized, as the LVM OLR feature is not installed.

if i remove the disk , may it couse the panic on the system ? since it shows as claimed on ioscan 

 

Br,

Florant