From 33ae774e3f57ecc209f648412cbf8e6a1cb2ab86 Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Tue, 22 Aug 2017 08:31:29 +0800 Subject: [PATCH] Update volumes.md (#5026) * Update volumes.md Fix leading spaces in commands. And fix command line format. * change bullet points into tabs * tidy --- docs/concepts/storage/volumes.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/concepts/storage/volumes.md b/docs/concepts/storage/volumes.md index 2d2f4f710f..b9a9368d83 100644 --- a/docs/concepts/storage/volumes.md +++ b/docs/concepts/storage/volumes.md @@ -581,18 +581,27 @@ __Important: You must create VMDK using one of the following method before using #### Creating a VMDK volume -* Create using vmkfstools. +Choose one of the following methods to create a VMDK. - First ssh into ESX and then use following command to create vmdk, +{% capture vmkfstools %} +First ssh into ESX, then use the following command to create a VMDK: ```shell - vmkfstools -c 2G /vmfs/volumes/DatastoreName/volumes/myDisk.vmdk +vmkfstools -c 2G /vmfs/volumes/DatastoreName/volumes/myDisk.vmdk ``` +{% endcapture %} + +{% capture vdiskmanager %} +Use the following command to create a VMDK: -* Create using vmware-vdiskmanager. ```shell - vmware-vdiskmanager -c -t 0 -s 40GB -a lsilogic myDisk.vmdk +vmware-vdiskmanager -c -t 0 -s 40GB -a lsilogic myDisk.vmdk ``` +{% endcapture %} + +{% assign tab_names = 'Create using vmkfstools,Create using vmware-vdiskmanager' | split: ',' | compact %} +{% assign tab_contents = site.emptyArray | push: vmkfstools | push: vdiskmanager %} +{% include tabs.md %} #### vSphere VMDK Example configuration