Cannot Increase size of /opt on AIX

Posted on 2008-10-07
Last Modified: 2013-11-17
I want to increase the size of the file system /opt by 2GB on AIX. Here is the error

root@fanprod12 # chfs -a size=+512M /opt
0516-404 allocp: This system cannot fulfill the allocation request.
        There are not enough free partitions or not enough physical volumes
        to keep strictness and satisfy allocation requests.  The command
        should be retried with different allocation characteristics.

and here is the number of PP we have

root@fanprod12 # lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00c4c78d00004c0000000115681f43e6
VG STATE:           active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1092 (139776 megabytes)
MAX LVs:            256                      FREE PPs:       28 (3584 megabytes)
LVs:                12                       USED PPs:       1064 (136192 megabytes)
OPEN LVs:           11                       QUORUM:         1
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        no
MAX PPs per VG:     32512
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable

root@fanprod12  # lsvg -l rootvg
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     384   768   2    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       2     4     2    open/syncd    /
hd2                 jfs2       40    80    2    open/syncd    /usr
hd9var              jfs2       12    24    2    open/syncd    /var
hd3                 jfs2       16    32    2    open/syncd    /tmp
hd1                 jfs2       8     16    2    open/syncd    /home
hd10opt             jfs2       32    64    2    open/syncd    /opt
lg_dumplv           sysdump    24    24    1    open/syncd    N/A
sybase              jfs2       16    32    2    open/syncd    /sybase
fslv00              jfs2       8     16    2    open/syncd    /usr/local/abinitio-V2-15

Question by:jdenver47
1 Comment
LVL 14

Accepted Solution

sjm_ee earned 500 total points
ID: 22664405
You have 28 PPs left but only 2 PPs on one disk and 26 PPs on the other - I will leave the math as an exercise to the reader. If you examine /opt you will see it is "strict" or "super strict", so you need enough free PPs to mirror the increase - you need 4 PPs on each disk.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question