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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now