Re: Adding Addl Disk to Volume Group

From: Taylor, David (DTaylor@WBMI.COM)
Date: Fri May 02 2003 - 12:04:08 EDT


How big do you want it to be? Or how much do you want to increase it by?

chfs -a size=+<number of 512 byte blocks to increase it by> <filesystem>

The amount increased will be rounded up to the next whole PP.

You also bump it up 128 MB at a time by:

chfs -a size=+1 <filesystem>

HTH

David

                -----Original Message-----
                From: Sue Pellerito [mailto:Sue.Pellerito@JACKINTHEBOX.COM]
                Sent: Friday, May 02, 2003 10:56 AM
                To: aix-l@Princeton.EDU
                Subject: Re: Adding Addl Disk to Volume Group

                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?

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



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