Cannot extend FS AIX


I am running AIXTL9 and planning an upgrade to AIX TL11. My /usr is 91% full and I dont think I have enough space for the upgrade. I tried to extend the FS but this is the error

chfs -a size=+512M /usr
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.

But I see that i still have 2GB left out, Why am i not able to extend the FS.

# lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00c84c5e00004c000000011580f7e97b
VG STATE:           active                   PP SIZE:        512 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      272 (139264 megabytes)
MAX LVs:            256                      FREE PPs:       4 (2048 megabytes)
LVs:                13                       USED PPs:       268 (137216 megabytes)
OPEN LVs:           12                       QUORUM:         1 (Disabled)
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

# lsvg -l rootvg
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       2       2    closed/syncd  N/A
hd6                 paging     96      192     2    open/syncd    N/A
hd8                 jfs2log    1       2       2    open/syncd    N/A
hd4                 jfs2       2       4       2    open/syncd    /
hd2                 jfs2       8       16      2    open/syncd    /usr
hd9var              jfs2       2       4       2    open/syncd    /var
hd3                 jfs2       1       2       2    open/syncd    /tmp
hd1                 jfs2       1       2       2    open/syncd    /home
hd10opt             jfs2       12      24      2    open/syncd    /opt
lg_dumplv           sysdump    4       4       1    open/syncd    N/A
sybase              jfs2       4       8       2    open/syncd    /sybase
localfs             jfs2       2       4       2    open/syncd    /usr/csc06local
admin               jfs2       2       4       2    open/syncd    /admin
Who is Participating?
woolmilkporcConnect With a Mentor Commented:
Hi again,

your rootvg is obviously mirrored.

It looks just as if one hdisk is full and the other one has 4 PPs left (due to lg_dumplv residing on only one disk, mandatory with dump devices).

So it seems that the remaining four free partitions are all on the same volume. Check if this is true with "lsvg -p rootvg".

hd4 is most probably defined with "EACH LP COPY ON A SEPARATE PV ?: yes" (check this with "lslv hd4").

If I am right you will not be able to extend /usr unless you free up one partition on the full hdisk.

You could try to achieve this by reducing the size of lg_dumplv by one partition.

Check with "sysdumpdev -e" (estimate dump size) if three partitions (i.e. 1536 MB or 1610612736 bytes) will be enough to hold a system dump.
If so, reduce lg_dumplv by one partition by deleting and redefining it. If you need assistance with this please let me know.

Another option could be reducing the size of hd6 (paging). If you want to do this issue "chps -d 1 hd6". Best do this just after a reboot and before starting applications, else there will not be enough space in rootvg to hold the temporary paging device needed by "chps -d".

If you can't reduce the dump logical volume nor the paging space you will have to shrink one of the remaining filesystems, or add another hdisk, or you will not be able to extend any FS on rootvg.

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.