Configuring vSphere Storage Flashcards
Define and describe what a datastore is.
A datastore is a logical storage unit that can use space on one or more physical storage devices.
Datastores are used to hold data such as VMs, VM templates, and ISO images
A datastore is a generic term for a container that holds files and objects. Datastores are logical containers, analogous to file systems, that hide the specifics of the underlying storage device and provide a uniform model for storing virtual machine files. A VM is stored as a set of files in its own directory or as a group of objects in a datastore
What types of datastores does vSphere support?
VMFS - virtual machine file system
NFS - network file system
vSAN - virtual storage area network
vSphere Virtual Volumes
What is Block-backed storage?
is a datastore access method that:
- Stores data as blocks (a sequence of bytes)
- Used on local storage
- Used on Storage Area Networks (SANs) and accessed through either iSCSI or Fibre Channel
- Used by VMFS, vSAN, and vSphere Virtual Volumes datastores
What is File-backed storage?
is a datastore access method that:
- Stores data hierarchically in files and folders
- Used on network-attached storage (NAS)
- Used by NFS and vSphere Virtual Volumes datastores
What are File-based datastores?
contents of the datastore are stored as files
- a VM consists of a set of files
- each VM has its own directory
- VMFS and NFS datastores hold files
In file-based datastores, a directory contains the VM’s files, such as the configuration file, one or more virtual disk files, swap files, and so on.
What are Object-based datastores?
contents of the datastore as objects
- a VM consists of a set of data containers called objects
- vSAN and vSphere Virtual Volumes datastores hold objects
In an object-based datastore, each VM consists of a VM configuration object, one or more virtual disk objects, a swap space object, and so on. An object is a data container. Each object on the datastore includes data, some metadata, and a unique ID.
Describe each of the storage technologies supported by vSphere
Direct-attached storage: Internal or external storage disks or arrays attached to the host through a direct connection instead of a network connection.
Fibre Channel (FC): A high-speed transport protocol used for SANs. Fibre Channel encapsulates SCSI commands, which are transmitted between Fibre Channel nodes. In general, a Fibre Channel node is a server, a storage system, or a tape drive. A Fibre Channel switch interconnects multiple nodes, forming the fabric in a Fibre Channel
network.
FCoE: The Fibre Channel traffic is encapsulated into Fibre Channel over Ethernet (FCoE) frames. These FCoE frames are converged with other types of traffic on the Ethernet network.
iSCSI: A SCSI transport protocol, providing access to storage devices and cabling over standard TCP/IP networks. iSCSI maps SCSI block-oriented storage over TCP/IP. Initiators, such as an iSCSI host bus adapter (HBA) in an ESXi host, send SCSI commands to targets, located in iSCSI storage systems.
NAS: Storage shared over standard TCP/IP networks at the file system level. NAS storage is used to hold NFS datastores. The NFS protocol does not support SCSI commands.
iSCSI, network-attached storage (NAS), and FCoE can run over high-speed networks providing increased storage performance levels and ensuring sufficient bandwidth. With sufficient bandwidth, multiple types of high-bandwidth protocol traffic can coexist on the same network
How can datastores be configured in vSphere 8.0?
Depending on the type of storage that you use, datastores can be formatted with VMFS or NFS
What storage features are supported by both VMFS5 and VMFS6?
— Concurrent access to shared storage
— Dynamic expansion
— On-disk locking
What storage features are supported by VMFS6 and not VMFS5?
— 4K native storage devices
— Automatic space reclamation
— 128 hosts per datastore
Describe VMFS (Virtual Machine File System).
VMFS is a clustered file system where multiple ESXi hosts can read and write to the same storage device simultaneously.
The size of a VMFS datastore can be increased dynamically when VMs residing on the VMFS datastore are powered on and running. A VMFS datastore efficiently stores both large and small files belonging to a VM. A VMFS datastore can support virtual disk files. A virtual disk
file has a maximum of 62 TB. A VMFS datastore uses sub-block addressing to make efficient use of storage for small files.
VMFS provides block-level distributed locking to ensure that the same VM is not powered on by multiple servers at the same time. If an ESXi host fails, the on-disk lock for each VM is released and VMs can be restarted on other ESXi hosts.
VMFS can be deployed on three kinds of SCSI-based storage devices:
- Direct-attached storage
- Fibre Channel storage
- iSCSI storage
Describe NFS (Network File System).
A Network File System (NFS) is a file-sharing protocol that ESXi hosts use to communicate with a network-attached storage (NAS) device.
NFS datastores are treated like VMFS datastores because they can hold VM files, templates, and ISO images. In addition, like a VMFS datastore, an NFS volume allows the vSphere vMotion migration of VMs whose files reside on an NFS datastore. The NFS client built in to
ESXi uses NFS protocol versions 3 and 4.1 to communicate with the NAS or NFS servers.
Because NFS 3 and NFS 4.1 clients do not use the same locking protocol, you cannot use different NFS versions to mount the same datastore on multiple hosts. Accessing the same virtual disks from two incompatible clients might result in incorrect behavior and cause data corruption.
Describe vSAN (Virtual Storage Area Network).
vSAN is a hypervisor-converged, software-defined storage solution for virtual environments that does not use traditional external storage.
By clustering host-attached solid-state drives (SSDs) and hard disk drives (HDDs), vSAN creates an aggregated datastore that is accessible to all the ESXi hosts in the vSAN cluster.
When vSAN is activated on a cluster, a single vSAN datastore is created. This datastore uses the storage components of each host in the cluster.
Describe vSphere Virtual Volumes.
vSphere Virtual Volumes virtualizes SAN and NAS devices by abstracting physical hardware resources into logical pools of capacity.
vSphere Virtual Volumes provides several functionalities:
- Native representation of VMDKs on SAN/NAS: No LUNs or volume management
- Works with existing SAN/NAS systems
- A new control path for data operations at the VM and VMDK level
- Snapshots, replications, and other operations at the VM level on external storage
- Automates control of per-VM service levels by using storage policies
- Standard access to storage with the vSphere API for Storage Awareness protocol
endpoint
- Storage containers that span an entire array
Describe RDM (Raw Device Mapping).
Raw device mapping (RDM) is a file stored in a VMFS volume that acts as a proxy for a raw physical device.