Cannot Increase size of /opt on AIX

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

Who is Participating?
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.