0516-404 allocp: This system cannot fulfill the allocation request. [AIX]

0516-404 allocp: This system cannot fulfill the allocation request. [AIX]

    Hello all, today I’m going to talk about an error that I have faced today during I was trying to increase a filesystem/Logical Volume :

hostname # chfs -a size=+1G /filesystem/path
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.

    The reason of this error was the UpperBound that were 1 and the space which I was increasing was available in a different disk that before, so My data was just spread in 1 disk :

 

hostname # lslv lvname
LOGICAL VOLUME:     lvname                 VOLUME GROUP:   vgfeliz
LV IDENTIFIER:      XXXXXXXX               PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        128 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                16                     PPs:            16
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1
MOUNT POINT:        /filesystem/path LABEL:          /filesystem/path
hostname #  lslv -l lvname
lvname:/filesystem/path
PV                COPIES        IN BAND       DISTRIBUTION
hdisk22           016:000:000   6%            002:001:002:002:009

    In this situation, you cannot increase the LV if the targeted size will spread on more disks than the “UPPER BOUND” value. So you have to change it with the chlv command:

hostname #  chlv -u 32 lvname
hostname # lslv lvname
LOGICAL VOLUME:     lvname                 VOLUME GROUP:   vgfeliz
LV IDENTIFIER:      XXXXXXXX               PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        128 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                16                     PPs:            16
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    32
MOUNT POINT:        /filesystem/path LABEL:          /filesystem/path

I selected 32 disks because I pretend to have more disks in the future.

5 (3)
Article Rating (3 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments (1)
Comment By Frankly Noe Toro - Tue, Jul 4th, 2023 10:36 PM
thanks excellent tip
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
A tcpdump Tutorial and Primer with Examples
Viewed 7047 times since Sun, Jun 17, 2018
AIX 7.2 running on my Macbook?
Viewed 14107 times since Mon, Jun 3, 2019
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 4676 times since Wed, Feb 6, 2019
Using splitvg in AIX to make a copy of a volume group
Viewed 10024 times since Mon, Jun 3, 2019
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 12276 times since Thu, Feb 21, 2019
Oslevel shows wrong AIX’s level. Why
Viewed 5697 times since Thu, Feb 21, 2019
Working with Virtual media library on VIO servers
Viewed 18357 times since Thu, Feb 21, 2019
Replacing a failed disk (rootvg)
Viewed 3920 times since Mon, May 21, 2018
O’Reilly’s CD bookshelf
Viewed 15353 times since Wed, Jun 27, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 3216 times since Fri, Apr 19, 2019