Create a New VMFS Volume

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

Function name: New-PCBSVmfsDatastore

Function action:

  • Creates a new VMFS volume of specified size on Everpure Cloud Dedicated and attaches the volume to the specified Everpure Cloud Dedicated host group.

  • Formats and mounts the Everpure Cloud Dedicated VMFS volume against the specified AVS cluster with VMFS 6.

Invoked when: A new VMFS volume is required.

Example:

  • Sample command with Minimum Required Arguments:

    New-PCBSVmfsDatastore -ClusterName "myCluster" -DatastoreName "VMFSDatastoreName" -Size 4GB -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
  • Additional Optional Arguments:

    -PureCloudBlockStoreConnection $CBSConnection
    If you have multiple CBS connections in your PowerShell session you may pass this variable to select the CBS connection you want to use.
  • -NoDefaultProtection
    If included, this flag will not place the created volume into the default protection group on CBS. This is useful for when customers are mindful about space consumption and want full control of Protection Group membership for the volume. Note that a volume cannot be moved out of the default protection group if this flag is not specified post-creation without opening a support case with Everpure support.
  • -TimeoutInMinutes 60
    In some environments, Create a New VMFS Datastore function can take long time to complete and script may fail due to a timeout. You can increase the timeout by using this optional argument.