• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 877
  • Last Modified:

AIX, lv's

I am creating logical volumes on a VIOS, from which I will assign disk space to 4 LPARs

The first 3 commands go well, but the last command goes badly

# mklv -y lpar_lv4 rootvg 40G
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.
0516-822 mklv: Unable to create logical volume.

I suspect there is not enough disk space on the SAS drive, but the hardware guy is out and I can not determine how large the SAS is

1> Is there a command I can run to see how much disk space is left

2> WOuld 40 GB of disk space be large enough for most uses of an LPAR, assuming the LPAR is holding an app server.
Los Angeles1
Los Angeles1
1 Solution

lsvg rootvg

will show the remaining physical partitions ("FREE PPs:") and (in parentheses) the space in megabytes they represent.


40 Gb are sufficient for AIX and probably your application server software.
But we can't know how much space the app server's data will occupy.
Also, be aware that you need a certain amount of paging space, depending on the size of assigned memory. With memory sizes of 8 GB and up you'll need 1.5 -  2 times that size as paging space (this will probably not fit into 40 GB), with lower memory sizes count 2.5 - 3 times.
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now