Operating System - HP-UX
1830410 Members
2439 Online
110002 Solutions
New Discussion

Increase two different volume group

 
SOLVED
Go to solution
Mousa55
Super Advisor

Increase two different volume group

Hi,

How to increase two different volume group (vg01 and vg02) from only one disk it is available in another volume (vg03).
For example the size of this disk is 80GB, Without effect on the data in each volume. And I am set this disk to increase any volume
Group if required space.

thanks and best regards
19 REPLIES 19
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Hi Nejad,

You cannot share a disk across the volume group.

regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

how i can set a disk with big size to increase any volume required space.
or i need the same concept to applying.
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Hi Nejad,

You can tune a volume group limitations like

a) max_pe
b) max_lv
c) max_pv
d) pe_size

For adding large disks to a volume group ,the volume group`s max_pe and pe_size should be tunned according to the disk size.

max_pe * pe_size = The possible maximum PE allocation from a disk

You can use -e for max_pe and -s for pe_size along with vgcreate
or
You can change the existing values of a volume group ,by using vgmodify .Vgmodify comes default with 11.31 and need to install a patch for 11.23.

Regds,
Aneesh
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Example:-

A VG with pe_size=16MB and max_pe= 65535

Then VG can hold 65535 X 16 MB = 1048 GB Disk.


Regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

because i can't at every time when i need space to increase the volume group in my server, to create a virtual disk from the EVA storage because i have limitation number to create virtual disk.
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

>because i can't at every time

It is not a every time job,if you tunned your VG with maximum expected value ,then you don`t need to worry about the next time activity from SAN (extending an existing vdisk or large Vdisk creation).

Let say your maximum expexted vdisk size is 500Gb then


(max_pe)31250 * (pe_size) 16 = 500 GB
(approx)

I belive the maximum vdisk size you may able to create from a EVA is 2 TB .So you can make it 65535 X 32 MB also :)

regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

i have more VG including oracle data and it is required by The continuing, increasing the size of these volume and this faces with limitation from a SAN when create virtual disk for each increase.
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Hi ,

> this faces with limitation from a SAN when create virtual disk for each increase.

There are two way which you can increase the volume group size.

1) By extending the existing vdisk size mapped to a particular volume group.But in this case you have to use vgmodify on OS side(supports only 11.23 & 11.31).

2)Create a new vdisk ,present to the host and allocate on the particluar VG .

The limitation for the number of vdisks is depends on the EVA controller firmware models.Which EVA model you are using ? what is the firmware version.

Regds,
Aneesh





Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

i have the latest version of EVA controller firmware xcs v6.0 for EVA8000
and i have 11.11 version.

thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group


Hi Nejad,

EVA 8000
-----------

Management of up to 1024 virtual disks (256 per HBA) ranging in size from 1 GB to 2 TB per virtual disk, in 1GB increments .

for more info:-

http://h18006.www1.hp.com/products/quickspecs/12236_div/12236_div.html

Regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

thanks for all your replay, but Can I increase the size of existing virtual disk from SAN storage side without create a new virtual disk. if yes what is i working in this case from UX side.
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

>Can I increase the size of existing virtual disk from SAN storage side without create a new virtual disk.

Yes, you can

see this:-
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1140868

regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

but if the VG is not take the new extend, that need to run vgmodify -v -o command but this command is not work on 11.11v. what is the Alternative command?
and how i can know the disk it is the same disk on SAN and Unix server? because when i try to increase any virtual disk to be know any disk which increasing.
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Hi Nejad,

Vgmodify will work only with 11.23 and 11.31 .


how i can know the disk it is the same disk on SAN and Unix server?

2 ways

a) using autopath

b) using evainfo


But since you are using 11.11 you cannot able to do this,plan to create a new vdisk and allocate to the Volume group.

Regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

thanks but you can give me more details about this 2 way

a) using autopath

b) using evainfo

thanks and best regards
Aneesh Mohan
Honored Contributor
Solution

Re: Increase two different volume group

EVAinfo
=======

Software:- Install evainfo from the HP storageworks SSSU CD


doc :-
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01438659-1


Autopath
=========

Software download:-
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?&swItem=co-58128-1

#autopath discover
#autopath display --- will show all your vdisk with UUID,alternative paths etc.You can match this disk uuid with Command view vdisk details


Regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

but the evainfo command is not work with 11.11 version
thanks
Aneesh Mohan
Honored Contributor

Re: Increase two different volume group

Hi,

EVAInfo is supported on the following operating systems: HP-UX 11.11 (PA), 11.23 (PA and IA), 11.31
(PA and IA).

Regds,
Aneesh
Mousa55
Super Advisor

Re: Increase two different volume group

Hi,

i don't have the HP storageworks SSSU CD, how i can install this command and how use it to
matching between the disk in SAN and UX server

thanks