Solved

Cannot Increase size of /opt on AIX

Posted on 2008-10-07
1
2,315 Views
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
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

0
Comment
Question by:jdenver47
1 Comment
 
LVL 14

Accepted Solution

by:
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

932 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

9 Experts available now in Live!

Get 1:1 Help Now