Re: Adding Addl Disk to Volume Group

From: Anthony F. Fiore (anthony.fiore@NYU.EDU)
Date: Fri May 02 2003 - 12:53:13 EDT


I believe the formula you are referring to is:

<PP number> * <pp size> * 1024 * 1024/512 =number of 512-byte blocks to
add via chfs

so if you wanted to add 411 PP's to that filesystem you would have:

411*128*1024*1024/512= 107741184

Hope this helps

FYI AIX 5.2 makes this SO much easier because you can increase FS sizes
by megabytes and gigabyte units as well as 512 byte blocks.

-Anthony

Sue Pellerito wrote:

>Thanks for the info on adding the disk. Now I am having a problem with
>determining how big to increase the filesystem. What is the formula? I
>would like to allocate all that is available on the volume group? I checked
>the archives but following the formulas presented only increased it by
>about 500mb. I'm sure I need to someone account for the 128 PP Size. Below
>is the output from lsvg:
>
>$<root>/ < 392 > # lsvg emcdatavg
>VOLUME GROUP: emcdatavg VG IDENTIFIER: 0001389f8be75084
>VG STATE: active PP SIZE: 128 megabyte(s)
>VG PERMISSION: read/write TOTAL PPs: 2652 (339456
>megabytes)
>MAX LVs: 256 FREE PPs: 1411 (180608
>megabytes)
>LVs: 2 USED PPs: 1241 (158848
>megabytes)
>OPEN LVs: 2 QUORUM: 3
>TOTAL PVs: 5 VG DESCRIPTORS: 5
>STALE PVs: 0 STALE PPs: 0
>ACTIVE PVs: 5 AUTO ON: yes
>MAX PPs per PV: 1016 MAX PVs: 32
>
>
>
>
>
> "Patrick B.
> O'Brien" To: aix-l@Princeton.EDU
> <pobrien@DOIT.NV. cc:
> GOV> Subject: Re: Adding Addl Disk to Volume Group
> Sent by: IBM AIX
> Discussion List
> <aix-l@Princeton.
> EDU>
>
>
> 05/01/2003 03:06
> PM
> Please respond to
> IBM AIX
> Discussion List
>
>
>
>
>
>
>Do an 'extendvg vgname hdiskname'
>
>Increase the FS and the LV will fallow by doing a, 'chfs -a size=new_size
>/fs_name'.
>
>
>
>-----Original Message-----
>From: Sue Pellerito [mailto:Sue.Pellerito@JACKINTHEBOX.COM]
>Sent: Thursday, May 01, 2003 2:50 PM
>To: aix-l@Princeton.EDU
>Subject: Adding Addl Disk to Volume Group
>
>Sorry for newbie question. I am new to AIX and need to increase the size of
>a logical volume by adding an additional EMC powerpath disk. I have already
>done the work on the SAN but need help with the AIX commands to increase
>the filesystem/logical volume/volume group. Can anyone help?
>
>
>

--
Anthony Fiore
System Administrator
ITS Operations and Production Services
New York University
anthony.fiore@nyu.edu


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:48 EDT