• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/17

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

17 Cards in this Set

  • Front
  • Back
Two types of storage that can be provisioned
Block Storage - Local, iSCSI, FCoE and FC
NAS Storage - NFS (NFS v3)
Provision storage - GUI
Host > Configuration > Storage > Add Storage
Provision storage - CLI
First obtain the device ID on which a partition is to be created - esxcli storage core path list

To view the partition information of this device:

partedUtil get /vmfs/devices/disks/<deviceID>

Devices without a partition will only have a single line of information

To create a partition use the following command:

partedUtil setptbl /vmfs/devices/disks/<deviceID> gpt "1, 128, 20971500 'GUID' 0"
Create a VMFS volume - CLI
vmkfstools -C vmfs5 -S volumename /vmfs/devices/disks/<deviceID:partitionnumber>
NFS Provisioning procedure - CLI
esxcli storage nfs add -H IPaddress -s <sharename> -v name
To remove an NFS Share - CLI
esxcli storage nfs remove -v volumenname
Storage Metrics - vSphere Client
Four types of metrics of interest:

Datastore, Disk, Storage Adapter, Storage Path

The default metrics for datastores, storage adapters and storage paths are latency based whilst for disks it is throughput
Use of the df command
df command stands for diskfilesystem and is used to display the file systems that are mounted on a particular host
df command examples - CLI
df -h | awk '/VMFS*/ || /NFS/'
For datastores that are highly utilised there are a number of ways to rectify this
Add more space
Add extent
Delete virtual machines that aren't required any more
Remove unneeded virtual disks
Use vmkfstools to create virtual disks
Create a 10GB virtual disk:

vmkfstools -c 10GB <path to VMDK>

Create a 10GB virtual disk provisioend as eagerzeroedthick and an LSILOGIC adapter:

vmkfstools -c 10GB -d eagerzeroedthick -a lsilogic <pathtoVMDK>

To extend a virtual disk from 10GB to 20GB use the following command:

vmkfstools -X 20GB <pathtoVMDK>

To clone an exsting virtual disk use the follwoing command:

vmkfstools -I <pathofdisktoclone> <pathtonewVMDK>
Create RDMs
Create a virtual compatibilty mode RDM use the following command:

vmkfstools -r /vmfs/devices/disks/<diskID> <pathtoRDMpointerfile>

Create a physical mode RDM use the following command:

vmkfstools -z /vmfs/devices/disks/<diskID> <pathtoRDMpointerfile>
Inflate a virtual disk - GUI
Right click on a disk via the datastore browser and choose inflate
Inflate a virtual disk - CLI
vmkfstools -j <path to VMDK>
Datastore clusters
A datastore cluster is a collection of datastores with shared resources and a shared management interface
Create Datastore Cluster - GUI
Navigate to Datastores and Datastore Clusters view
Right click on datastore > New Datastore cluster
Choose whether Storage DRS is enabled
Choose the automation level
Choose whether to inlcude I/O metrics
Select the clusters that the datastore cluster should be added to
Select the datastores to add to the datastore cluster
Create Datastore Cluster - PowerCLI
Use new-datastorecluster and set-datastorecluster