Jan,
The reason you got that error message was because you were trying to add 4 GB PV
into a volume group which had 4 MB PP size. If you see the information given by
: lspv hdisk3, you will see that PP size is 4 MB. That is the PP size used for
rootvg. There is a limitation for the number of PPs allowed in a PV. In 1 PV,
the number of PP should not exceed 1016. So, if you divide 4 GB by 4 MB you will
get 1024 PPs which exceeds the limit. That's why you got that message. If you
created the VG ( in this case rootvg ) initially with 16 MB PP size then you
would not get that message. In order to add 4 GB PV into a VG, the PP size
should be at least 8 MB. So, in the nutshell you can not add this new PV into
rootvg without reinstalling the OS with higher PP size. Since your current OS is
AIX 4.3.2 then you can circumvent this limitation. It has a new command to play
around with this boundary : chvg -t <number> where the number is any number from
2,3,4 ... so on. For example: if you specify 2 then it means each PV in a VG can
now have 2 * 1016 = 2032 PPs so you can add that 4 GB disk into rootvg. But
again, good thing will have side effect. Initially, before you change the upper
limit, you can have 32 PVs in a VG but now you can only have 32/2 = 16 PVs in
rootvg. The same applies if you put 3,4, ... the number of PVs allowed in a VG
will be reduced by that factor. Another caveat, you can not revert back once you
have changed the upper limit and you can not import the altered VG from AIX
4.3.2 to any earlier level of AIX. So be careful with this command. Since you
are going to install another apps. in the new disk, then I suggest you to create
a new VG with 16 PP size just in case you will add 9.1 GB in the future, then
you can create a new filesystems under that VG dedicated for that apps ( i.e :
/usr/local ). Having all the apps. in rootvg is not a good idea since they will
slow down the backup and restore of mksysb image. Normally, you only need to
have /, /usr, /home, /tmp, and /var filesystems in rootvg and put all other
apps. in another VG. I hope this explanation could help you out. Good luck.
Denny Hardian
> Hi
> We recently ran out of space on our ancient 2GB hdd in a PowerSERVER 590,
> after installing 4.3.2. Thing is, we haven't even started installing
> applications onto the machine.
> We have an external 4GB that sits around. So I thought I'd just add this to
> rootvg in order to be able to install applications to /usr and still be in
> rootvg.
> I get the following error message though:
> #extendvg -f 'rootvg' hdisk0
> 0516-050 linstallpv: Not enough descriptor area space left in this volume
> group. Either try adding a smaller PV or use another volume group.
> 0516-628 extendvg: Warning, cannot install physical volume hdisk0
> in volume group rootvg.
> The details are as following:
> # lspv
> hdisk0 00001006fea9597a None | Disk I want to add (4GB)
> hdisk1 0000100657ba34bd Ext18Gig
> hdisk2 none None | Bad internal
> disk
> hdisk3 000010068ca81fe8 rootvg
> hdisk4 000010068fb133a1 None | Not interested in this at
> the moment (also something wrong with it or something)
> Also:
> # lspv hdisk3
> PHYSICAL VOLUME: hdisk3 VOLUME GROUP: rootvg
> PV IDENTIFIER: 000010068ca81fe8 VG IDENTIFIER
> 00001006962bdced
> PV STATE: active
> STALE PARTITIONS: 0 ALLOCATABLE: yes
> PP SIZE: 4 megabyte(s) LOGICAL VOLUMES: 9
> TOTAL PPs: 480 (1920 megabytes) VG DESCRIPTORS: 2
> FREE PPs: 1 (4 megabytes)
> USED PPs: 479 (1916 megabytes)
> FREE DISTRIBUTION: 01..00..00..00..00
> USED DISTRIBUTION: 95..96..96..96..96
> Any help would be greatly appreciated!
> Jan Boshoff