0516-787 extendlv: Maximum allocation for logical volume hd11admin is 512
This is a very common error we get while trying to increase a filesystem. While attempting to increase the size of /admin filesystem by 1oGB, I got this error as below . I verified the VG for available space using lsvg and the rootvg has 18GB of free space.webmanul01:/> chfs -a size=+10G /admin 0516-787 extendlv: Maximum allocation for logical volume hd11admin is 512.It is not about the size of file system. There is a limit called MAX LPs , we need to increase maximum logical partition number . We get this error when we are right at the maximum or at least the extension you are trying exceeds that number. So I followed the below steps to resolve the problem
Step 1 : Run the command smitty chlv –> Change a Logical Volume –> Press Enter –>LOGICAL VOLUME name — >Press F4
Step 2 : Select the LV , here I have selected hd11admin and Press enter
Step 3: Now here I have increase the MAXIMUM NUMBER of LOGICAL PARTITIONS from 512 to 800 as below
Step 5 : Press Enter and now command is OK as below as successfully.
webmanual01:/> smitty chlv COMMAND STATUS Command: OK stdout: no stderr: no Before command completion, additional instructions may appear below.Step 6 : Now extend the /admin filesystem
#chfs -a size=+10G /admin
* Source Article from : Internet