ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VCP6-DCV Objective 3.4 – Perform Advanced VMFS and NFS Configurations and Upgrades

By Vladan SEGET | Last Updated: November 1, 2017

Shares

This post covers VCP6-DCV Objective 3.4 – Perform Advanced VMFS and NFS Configurations and Upgrades. Important storage chapter where you'll learn the inside out about VMFS, datastores, management or enable/disable vStorage API for array integration.

For whole exam coverage I created a dedicated VCP6-DCV page which follows the exam's blueprint. If you just want to look on some how-to, news, videos about vSphere 6 – check out my vSphere 6 page. If you find out that I missed something in this post, don’t hesitate to comment.

VMware vSphere Knowledge

  • Identify VMFS and NFS Datastore properties
  • Identify VMFS5 capabilities
  • Create/Rename/Delete/Unmount a VMFS Datastore
  • Mount/Unmount an NFS Datastore
  • Extend/Expand VMFS Datastores
  • Place a VMFS Datastore in Maintenance Mode
  • Identify available Raw Device Mapping (RDM) solutions
  • Select the Preferred Path for a VMFS Datastore
  • Enable/Disable vStorage API for Array Integration (VAAI)
  • Disable a path to a VMFS Datastore
  • Determine use case for multiple VMFS/NFS Datastores

—————————————————————————————————–

Identify VMFS and NFS Datastore properties

What's Datastore?  – it's kind of a logical container which stores VMDKs of your VMs. VMFS is a clustered file system which allows multiple hosts access files on shared datastore.

VMFS uses locking mechanism (ATS or ATS + SCSI) which prevents multiple hosts from concurrently writing to the metadata and ensure that there is no data corruption. Check Page 149 for vSphere Storage guide for more on the ATS or ATS+SCSI locking mechanism.

NFS – Network file system, can be mounted by ESXi host (which uses NFS client). NFS datastores supports vMotion or SvMotion, HA, DRS, FT or host profiles (note that NFS 4.1 do not supports FT). NFS v3 and NFS v4.1 are supported with vSphere 6.0.

VMDKs are provisionned as “Thin” by default on the NFS datastore.

Identify VMFS5 capabilities

  • Larger than 2TB storage devices for each VMFS5 extent.
  • Support of virtual machines with large capacity virtual disks, or disks greater than 2TB.
  • Increased resource limits such as file descriptors.
  • Standard 1MB file system block size with support of 2TB virtual disks.
  • Greater than 2TB disk size for RDMs
  • Support of small files of 1KB. Ability to open any file located on a VMFS5 datastore in a shared mode by a maximum of 64 hosts.
  • Can reclaim physical storage space on thin provisioned storage devices.

Upgrades from previous version of VMFS:

  • VMFS datastores can be upgraded without disrupting hosts or virtual machines.
  • If creating new VMFS datastore there is choice to create VMFS 3 or VMFS 5 version of datastore
  • New VMFS datastores are created with the GPT format.
  • VMFS datastore which has been upgraded will continue to use the MBR format until it is expanded beyond 2TB. If that's the case then the MGS format is converted to GPT.
  • Maximum VMFS datastores per host – 256 VMFS datastores
  • Host needs to run ESXi 5.0 or higher
  • No way back (VMFS 5 to VMFS 3) the upgrade process cannot downgrade back to VMFS v3.

Create/Rename/Delete/Unmount a VMFS Datastore

Create Datastore – vSphere Web Client > Hosts and Clusters > Select Host > Actions > Storage > New Datastore

Create New Datastore

And you have a nice assistant which you follow…

Create VMFS Datastore

The datastore can be created also via vSphere C# client.

To rename datastore > Home > Storage > Right click datastore > Rename

Rename Datastore

As you can see you can also unmount or delete datastore via the same right click.

Make sure that:

  • There are NO VMs on that datastore you want to unmount.
  • If HA configured, make sure that the datastore is not used for HA heartbeats
  • Check that the datastore is not managed by Storage DRS
  • Verify also that Storage IO control (SIOC) is disabled on the datastore

Mount/Unmount an NFS Datastore

Create NFS mount. Similar way as above Right click datacenter > Storage > Add Storage.

Add NFS Datastore

You can use NFS 3 or NFS 4.1 (note the limitations of NFS 4.1 for FT or SIOC). Enter the Name, Folder, and Server (IP or FQDN)

To Mount/unmout NFS datastore…

mount datastore

And then choose the host(s) to which you want this datastore to mount…

Mount Datastore VMware

Extend/Expand VMFS Datastores

It's possible to expand existing datastore by using extent OR by growing an expandable datastore to fill the available capacity.

Increase Datastore Capacity

and then you just select the device..

Increase Datastore Capacity

You can also Add a new extent. Which means that datastore can span over up to 32 extents and appear as a single volume…. But in reality, not many VMware admins likes to use extents….

Place a VMFS Datastore in Maintenance Mode

Maintenance mode for datastore is available if the datastore takes part in Storage DRS cluster. (SDRS). Regular datastore cannot be placed in maintenance mode. So if you want to activate SDRS you must first create SDRS cluster by Right click Datacenter > Storage > New Datastore Cluster.

then only you can put the datastore in maintenance mode…

SDRS Maintenance Mode

Identify available Raw Device Mapping (RDM) solutions

vSphere storage guide p. 203. RDM allows a VM directly access a LUN.  Think of an RDM as a symbolic link from a VMFS volume to a raw LUN.

RDM

An RDM is a mapping file in a separate VMFS volume that acts as a proxy for a raw physical storage device. The RDM allows a virtual machine to directly access and use the storage device. The RDM contains metadata for managing and redirecting disk access to the physical device.

When to use RDM?

  • When SAN snapshot or other layered applications run in the virtual machine. The RDM better enables scalable backup offloading systems by using features inherent to the SAN.
  • In any MSCS clustering scenario that spans physical hosts — virtual-to-virtual clusters as well as physical-to-virtual clusters. In this case, cluster data and quorum disks should be configured as RDMs rather than as virtual disks on a shared VMFS.

If RDM is used in physical compatibility mode – no snapshoting of VMs… Virtual machine snapshots are available for RDMs with virtual compatibility mode.

Physical Compatibility Mode – VMkernel passes all SCSI commands to the device, with one exception: the REPORT LUNs command is virtualized so that the VMkernel can isolate the LUN to the owning virtual machine. If not, all physical characteristics of the underlying hardware are exposed. It does allows the guest operating system to access the hardware directly. VM with physical compatibility RDM has limits like that you cannot clone such a VM or turn it into a template. Also sVMotion or cold migration is not possible.

Virtual Compatibility Mode – VMkernel sends only READ and WRITE to the mapped device. The mapped device appears to the guest operating system exactly the same as a virtual disk file in a VMFS volume. The real hardware characteristics are hidden.  If you are using a raw disk in virtual mode, you can realize the benefits of VMFS such as advanced file locking for data protection and snapshots for streamlining development processes. Virtual mode is also more portable across storage hardware than physical mode, presenting the same behavior as a virtual disk file. (VMDK). You can use snapshots, clones, templates When an RDM disk in virtual compatibility mode is cloned or a template is created out of it, the contents of the LUN are copied into a .vmdk virtual disk file.

Other limitations:

  • You cannot map to a disk partition. RDMs require the mapped device to be a whole LUN.
  • VFRC – Flash Read Cache does not support RDMs in physical compatibility (virtual compatibility is compatible).
  • If you use vMotion to migrate virtual machines with RDMs, make sure to maintain consistent LUN IDs for RDMs across all participating ESXi hosts

Select the Preferred Path for a VMFS Datastore

For each storage device, the ESXi host sets the path selection policy based on the claim rules. The different path policies we treated in our earlier chapter here – Configure vSphere Storage Multi-pathing and Failover.

Now if you want just to select preferred path, you can do so. Ifyou want the host to use a particular preferred path, specify it manually.

Fixed is the default policy for most active-active storage devices

Fixed – (VMW_PSP_FIXED) the host uses designated preferred path if configured. If not it uses first working path discovered. Preffered path needs to be configured manually.

Path selection policy VMware vSphere 6

 

Enable/Disable vStorage API for Array Integration (VAAI)

You need to have hardware that supports the offloading storage operations like:

  • Cloning VMs
  • Storage vMotion migrations
  • Deploying VMs from templates
  • VMFS locking and metadata operations
  • Provisioning thick disks
  • Enabling FT protected VMs

How to disable? or enable?

Enable = 1
Disable = 0

vSphere Web Client > Manage tab > Settings > System, click Advanced System Settings > Change the value for any of the options to 0 (disabled):

  • VMFS3.HardwareAcceleratedLocking
  • DataMover.HardwareAcceleratedMove
  • DataMover.HardwareAcceleratedInit

Storage acceleration

you can check the status of the hardware via CLI (via esxcli storage core device vaai status get)

VAAI status check

or on the NAS devices with (esxcli storage nfs list).

Via vSphere web client you can also see if a datastore has hardware acceleration support…

VAAI Check

Disable a path to a VMFS Datastore

It's possible to temporarily disable storage path, for example for maintenance reasons. Check Storage Paths in the vSphere Storage Guide on p 192.

Disable path to datastore

One can disable the path from through the web client from the datastore view OR storage device OR adapter view.

Determine use case for multiple VMFS/NFS Datastores

Usually the choice for multiple VMFS/NFS datastores are based on performance, capacity and data protection.

Separate spindles – having different RAID groups to help provide better performance. Than you can have multiple VMs, executing applications which are I/O intensive. If you make a choice with single big datastore, than you might have performance issues…
Separate RAID groups. – for certain applications, such as SQL server you may want to configure a different RAID configuration of the disks that the logs sit on and that the actual databases sit on.
Redundancy – You might want to replicate VMs to another host/cluster. You may want the replicated VMs to be stored on different disks than the production VMs. In case you have failure on production disk system, you most likely still be running the secondary disk system just fine.

Load balancing – you can balance performance/capacity across multiple datastores.

Tiered Storage – Arrays comes often with Tier 1, Tier 2, Tier 3 and so you can place your VMs according to performance levels…

Tools

vSphere Installation and Setup Guide

  • vSphere Storage Guide
  • VMware vSphere® Storage APIs – Array Integration (VAAI)
  • vSphere Client / vSphere Web Client
Shares
5/5 - (3 votes)

| Filed Under: Server Virtualization Tagged With: VCP6-DCV, VCP6-DCV Objective 3.4 - Perform Advanced VMFS and NFS Configurations and Upgrades

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Baloo449 says

    July 8, 2015 at 2:45 pm

    Hi Vladan
    Obviously you are confused with VMFS 3 regarding the size.
    As per the configuration maximum guide for vsphere 6
    lun size : 64 TB
    VMFS size : 64TB
    RDM : 62TB
    Vmdk : 62TB
    Anyway you’re stil one of my favourite blog 😉

  2. Vladan SEGET says

    July 8, 2015 at 4:46 pm

    VMFS 3 isn’t much used those days and that’s why I’m focusing on VMFS 5 as per the blueprint requirements. VMFS 3 didn’t changed since 5.5

    RDM size (virtual) 62TB
    RDM size (physical) 64TB
    Block size 1 Mb
    File Size 62 TB

    Thank for following the blog -:)

  3. Nick Pier says

    October 27, 2015 at 12:07 am

    According to the configuration maximums document (table 3-3, page 13), 64 hosts can connect to the same VMFS volume. Am I misreading “Ability to open any file located on a VMFS5 datastore in a shared mode by a maximum of 32 hosts.” ?

    • Vladan SEGET says

      October 27, 2015 at 4:14 am

      Oh…. you’re right. Thanks for pointing this out. Post corrected. Of course v6 of vSphere handles 64 hosts, not 32.

  4. uniseb says

    March 12, 2016 at 1:28 am

    Checking VAAI Support

    “The overall VAAI status is
    displayed as Supported, Not supported or Unknown under Hardware Acceleration in the UI
    (…)
    Hardware acceleration status is determined by the support state of various primitives. If ATS is supported, the UI displays Hardware Acceleration as Supported. If, however, ATS, XCOPY and zero all are unsupported, Hardware Acceleration displays as Unsupported. All other support states set the hardware acceleration status to Unknown, which typically is a state that is displayed until the first clone and zero operation is initiated. Many users initiate an eagerzeroedthick clone of a file to test the VAAI status.”

    source: http://www.vmware.com/files/pdf/techpaper/VMware-vSphere-Storage-API-Array-Integration.pdf

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in