Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

Extending VA7100

sid_22
Advisor

Extending VA7100

Hi All

Please see attached file where you can see vgdisplay and ioscan results.

We have two VG vg00 and vgBAL, 3 LUNs (c4t0d1, c4t0d2, c4t0d3) We want to know what is c4t0d0 ?

We want to add 10 new 36 GB disks to our VA. After we have physically added the 10 disk at the same time
We must wait the OS to format evry disk (how many time it will take ?)

Then create new 80 GB LUN with command :
#armcfg -L 4 -a 80000 -g 1 myArray

there will be new /dev/dsk/c4t0d4 /dev/rdsk/c4t0d4 created by the OS ?

Then we must initialize this disk as an LVM disk by using the pvcreate command.
#pvcreate -f /dev/rdsk/c4t0d4
#diskinfo /dev/rdsk/c4t0d4

We can add this PV disk to volume group vgBAL
#vgextend vgBAL /dev/dsk/c4t0d4

Extend logical volume to 80000 MB
#/usr/sbin/lvextend -L 80000 /dev/vgBAL/rlvolBAL2


And we can repeat the process with evry new LUN to create.

Is this process is ok to create new LUN and extend VG and LV ?

Regards
5 REPLIES
Torsten.
Acclaimed Contributor

Re: Extending VA7100

/dev/dsk/c4t0d0 is LUN 0 - usually around 10-20MB in size on this array type.

Don't use it for data!

# vgdisplay -v /dev/vgBAL
...
Max PE per PV 2047
...
PE Size (Mbytes) 4

This means the maximum PV size is limited to ~8GB!

You cannot add a 80GB LUN to this VG!

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!   
sid_22
Advisor

Re: Extending VA7100

Hi

Thanks for your response.

We want to add about 140 GB to our vgBAL logical volums but it seem that maximum PV number is 16 where and there is 3 PV now, that mean that we can add only 13 PVs i.e. 13 x 8 GB = 104 GB to this vg.

How we can chage volume group parameters to allow us to add 140 GB or more.

Regards
Torsten.
Acclaimed Contributor

Re: Extending VA7100

It depends on your OS.

With 11.11 or lower you can only backup the data, remove and recreate the VG.

With 11.23 or higher you can adjust the settings using vgmodify.

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!   
sid_22
Advisor

Re: Extending VA7100

Hi

Thank you for you quick replay.

We are on B.11.11 hence we have to delete vgBAL vg and recreate it.

If we remove the vg it will affect the applications or the OS ?

To create a volume group named /dev/vgBAL that can contain a maximum of 255 logical volumes and 32 physical volums, with extent size set to 8 MB :

#mkdir /dev/vgBAL
#mknod /dev/vgBAL/group c 64 0xNN0000
#vgcreate â p 32 -s 8 /dev/vgBAL

But I have two questions :
1- How to find NN
2- How to define the Max PE per PV parameter

Regards
Torsten.
Acclaimed Contributor

Re: Extending VA7100

You need to use lvremove and vgremove in order to remove the vg. All data on it will be gone.

You can also use vgexport to get rid of the vg and start over with pvcreate ...

Find out the current NN and re-use it after you removed the vG.

vgcreate -e max_pe ...

see

http://docs.hp.com/en/B3921-60631/vgcreate.1M.html

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!