VMware vSphere

 View Only
  • 1.  size limit for new and extension of vmdk

    Posted 28 days ago

    hello,

    old problem: prevent users from creating huge vms.

    i want to enforce a size limit for the creation of new vmdks to 2TB and limit extension of vmdks beyond 2TB.
    the actual setup is: vsphere 8u3; each user has datastore-clusters with 2-x datastores of 10TB, connected via FC.
    i was unable to find any setting, maybe someone has a helpful advice?

    cheers,
    lukas



    -------------------------------------------


  • 2.  RE: size limit for new and extension of vmdk

    Posted 27 days ago

    I don't think you have such settings at vCenter level out of the box unless you use cloud automation tools like Aria Automation or vCloud Director which has such capabilities.

    Regards,

    Suresh

    -------------------------------------------



  • 3.  RE: size limit for new and extension of vmdk

    Posted 27 days ago

    vSphere doesn't have a built-in way to cap the size of individual VMDKs. A few practical options are using datastore quotas or storage policies to limit how much space a user can consume, or setting up monitoring/alerting scripts to catch oversized disks before they grow too big. Some people also use vVols with policies that enforce capacity limits. It's not perfect, but these approaches can help prevent users from creating huge VMs.

    -------------------------------------------



  • 4.  RE: size limit for new and extension of vmdk

    Posted 26 days ago

    Just a warning that vVOLs are being depreciated in VCF/VVF 9.  No point in trying to deploy new vVOLs.

    https://knowledge.broadcom.com/external/article?articleId=401070

    -------------------------------------------



  • 5.  RE: size limit for new and extension of vmdk

    Posted 25 days ago

    thanks to all for the pointers!

    quite unfortunate that extra tools are required for preventive measures.
    guess i have to make a script and contact customers afterwards.

    cheers!

    -------------------------------------------



  • 6.  RE: size limit for new and extension of vmdk

    Posted 21 days ago

    you can create a role based access and assign the role to user and restrict user to perform any changes on VM Configuration.

    Go to roles> Create a new role as read only, Select the virtual machine> and select Change Settings.

    -------------------------------------------



  • 7.  RE: size limit for new and extension of vmdk

    Posted 21 days ago

    Thank you noorealam, but the users have to be able to add and increase vdisks in my scenario. cheers!

    -------------------------------------------