Help growing fs

Hello,

I have a filesystem that I'm trying to grow but it's giving me the error:

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.

I'm missing something but don't know enough about AIX filesystems to know what it is. The command lsvg mvg shows the following:

VOLUME GROUP:       myvg                    VG IDENTIFIER:  00f6757600004c000000013f3e5e8f1f
VG STATE:           active                   PP SIZE:        1024 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      3050 (3123200 megabytes)
MAX LVs:            256                      FREE PPs:       1030 (1054720 megabytes)
LVs:                2                        USED PPs:       2020 (2068480 megabytes)
OPEN LVs:           2                        QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        no
Concurrent:         Enhanced-Capable         Auto-Concurrent: Disabled
VG Mode:            Non-Concurrent
MAX PPs per VG:     32768                    MAX PVs:        1024
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      non-relocatable
MIRROR POOL STRICT: off
PV RESTRICTION:     none                     INFINITE RETRY: no

And the output of lslv mylv:

LOGICAL VOLUME:     mylv                 VOLUME GROUP:   myvg
LV IDENTIFIER:      00f6757600004c000000013f3e5e8f1f.2 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            2048                   PP SIZE:        1024 megabyte(s)
COPIES:             2                      SCHED POLICY:   parallel
LPs:                1009                   PPs:            2018
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1024
MOUNT POINT:        /fs                   LABEL:          /fs
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)
Serialize IO ?:     NO
INFINITE RETRY:     no
DEVICESUBTYPE:      DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None

I think "PP SIZE" is the problem, but I'm not 100% sure. How can I increase the fs without taking the system offline?

you forgot to provide the command you use to expand the filesystem.

I tried using both

smitty jfs2

and

chfs -a size=+100G /fs

You seem to gave a 2GB VG on 3GB disk space and you tried to increase it by 100GB when there is only 1GB remaining...
HTH

Huh? Am I misreading that number? That's not 1TB of available storage?

I'm looking at the free PPs in the output.

---------- Post updated at 11:25 PM ---------- Previous update was at 10:44 PM ----------

Ok, I figured this out. The volume group has 2 PVs. When I expanded the disk, only 1 PV was expanded. I expanded the second disk and then rescanned the vg using chvg -g myvg.

Now I'm able to grow the fs no problems.

Thanks for chiming in fellas. Much appreciated.

Your filesystem is mirrorred:

COPIES:             2                      SCHED POLICY:   parallel
LPs:                1009                   PPs:            2018

So, what is most likely the problem: one of the PV - physical volumes is (nearly) full, while the other is not.

Literally, what the message says is that it cannot provide an equal number of PP for each PP on different physical volumns - so it cannot satisify the mirroring specification.

While the volume group may have sufficient space, it is nearly all coming from one "physical" volume.

Potential solutions:
a) migrate an un-mirrored logical volume from the full disk, to the less full disk
b) if the LUNs are already mirrored in the storage (e.g., SAN LUN that is actually a RAID5) you could consider un-mirroring the logical volume.
c) add a new LUN to the volume group.
d) - what you did, saw it after posting :slight_smile: -- good job!