Operating System - HP-UX
1748185 Members
4319 Online
108759 Solutions
New Discussion юеВ

Meta hypervolume cannot be display in the VG

 
Tuck Lee
Frequent Advisor

Meta hypervolume cannot be display in the VG

I have problem with my metavolume. I have retracted an existing hyper volume SAN and stripe it to a 5 disk meta.I masked it back to the server, with the same device name. The problem is I cannot see the new size after I pvcreate and vgextend to a VG01. Anyone can help me?
4 REPLIES 4
Doug O'Leary
Honored Contributor

Re: Meta hypervolume cannot be display in the VG

Hey;

There's a couple of things that may be biting you here.

First thing to do is rmsf the device and recreate it.

rmsf -h ${hw_path}
ioscan -fH ${hw_path}
isnf -eH ${hw_path}

That will ensure the system's talking to the new device.

The second, and more probable, thing that may be biting you is the maximum number of physical extents per volume.

When you create a new vg, unless you tell it otherwise, the system will definea default value of the max physical extents per volume.

For instance:
# pvdisplay /dev/dsk/c30t8d6
--- Physical volumes ---
PV Name /dev/dsk/c30t8d6
PV Name /dev/dsk/c31t6d1 Alternate Link
PV Name /dev/dsk/c32t6d1 Alternate Link
PV Name /dev/dsk/c33t8d6 Alternate Link
VG Name /dev/vgsapE1P
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 8
Total PE 4314
Free PE 226
Allocated PE 4088
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On

That shows I have a total of 4314 physical extents with an extent size of 8 so the maximum size disk I can add to that vg is:

8 * 4314 = 34512 megs.

You can add disks larger than that, but you'll only see 34512 megs of it.

There's supposed to be a pending update to vgchange that will allow you to change settings such as that on the fly. Currently, the only supported method of changing it is to recreate the volume group.

HTH;

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Tuck Lee
Frequent Advisor

Re: Meta hypervolume cannot be display in the VG

When you say hw_path do you mean
/dev/dsk/c8t6d2?

isnf do you mean insf?
Tuck Lee
Frequent Advisor

Re: Meta hypervolume cannot be display in the VG

thks
Doug O'Leary
Honored Contributor

Re: Meta hypervolume cannot be display in the VG

Hey;

I know you closed the thread, but some clarity will be good.

hw_path is the actual hw path of the disk:

# ioscan -funC disk /dev/dsk/c1t2d0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0

And, while my comments re the max pe per pv were accurate, the command I used to show it was incorrect. It should be vgdisplay:
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350 <-##
VGDA 4
PE Size (Mbytes) 4 <-##
Total PE 8680
Alloc PE 8600
Free PE 80
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Those two lines, multiplied together will give you the max viewable disk size.

Sorry for the confusion - it's monday morning...

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html