" ERROR: No volume can be created within the given constraints" reported when trying to create a volume with VxVM

book

Article ID: 100016214

calendar_today

Updated On:

Description

Error Message

vxvm:vxassist: ERROR: No volume can be created within the given constraints

Resolution

a) When creating a new volume, to determine the largest possible size for a volume, use the following command:
#vxassist -g maxsizeattributes...

For example, to determine the maximum size for a new RAID-5 volume on available disks, use the command:
#vxassist -g maxsize layout=raid5

The output from this command will give the maximum size in sectors.


b) While resizing a volume, to determine how much an existing volume can grow to, use the following command:
#vxassist -g maxgrow

For example, to determine the maximum size that can be achieved by the "datavol" volume in "datadg" diskgroup, below command can be used
#vxassist -g datadg maxgrow datavol

Note: This will not grow the volume, but will give an output stating how much the volume can be grown by.
 

 

Issue/Introduction

When trying to create a new volume or resize a volume in a diskgroup, the operation fails with errors regarding lack of free space