This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

VMware

Integration guides for TrueNAS and a VMware hypervisor.

There are several configuration recommendations and troubleshooting tips when using TrueNAS with a VMware hypervisor.

iSCSI IQN is an acronym that stands for “iSCSI Qualified Name”. It is comprised of the following naming schema with a preamble, node name and unique identifier:

VMware requires using an IQN in their software iSCSI implementation.

A VMware datastore backed by iSCSI-based storage will consist of at least three distinct pieces: the storage host, the switching infrastructure, and the VMware host itself. In order to maximize service availability, each of these elements needs to be able to tolerate some level of failure without significantly disrupting iSCSI traffic.

TrueNAS systems support high-availability (HA) through dual-controllers running in active/standby mode. A properly-configured HA TrueNAS system can offer up to 5x 9’s of system availability. TrueNAS also fully supports asymmetric logical unit access (ALUA) on iSCSI to significantly reduce failover time.

Network switching infrastructure can be made redundant and fault-tolerant through a number of methods, but multipathing is recommended as the best practice for iSCSI networks.

VMware’s official documentation details several ways the virtualization host(s) can be made redundant, so that is not covered here.

For a VMware ESXi host to communicate with an iSCSI capable storage array, the iSCSI protocol must be configured to provide: Discovery, Authentication, and Access Control (DAAC).

Discovery

iSCSI offers two methods of target discovery: dynamic and static. Dynamic discovery lets the storage array respond automatically to the host initiator’s “SendTargets” request. Static discovery requires an administrator to manually add a list of the iSCSI targets to the initiator. Either method of discovery is fine, but dynamic discovery can make the iSCSI setup process easier.

Authentication

iSCSI authentication is handled via the Challenge Handshake Authentication Protocol, or CHAP. CHAP uses a shared secret between targets and initiators to let them validate each other’s authenticity. By default, no CHAP-based authentication is performed by the VMware iSCSI initiator. If you do decide to use CHAP, authentication can either be unidirectional (where only the target authenticates the initiator) or bidirectional (where both the iSCSI initiator and the iSCSI target are required to authenticate to each other prior to transmitting iSCSI data).

VMware iSCSI initiators operating with unidirectional CHAP can be configured in two behavior modes. In “Required” mode, an iSCSI adapter will give precedence to non-CHAP connections, but if the iSCSI target requires it, the connection will use CHAP instead. Required mode is only supported by Software iSCSI and Dependent Hardware iSCSI adapters. Alternatively, initiators can run in “Prohibited” mode, where an iSCSI adapter will give precedence to CHAP connections, but if the iSCSI target does not support CHAP, the initiator can still connect.

Bidirectional CHAP (called “mutual CHAP” in TrueNAS) offers greater security by ensuring that both sides of the iSCSI connection authenticate against each other. Unidirectional CHAP does not let the iSCSI initiator authenticate the target, and running without CHAP obviously disables all authentication. For this reason, bidirectional CHAP is usually recommended but requires additional configuration and comes with greater administrative overhead when troubleshooting iSCSI connections.

Access Control

Access control policies are set up within a storage array to ensure only certain initiators can connect to the target (even if they possess the correct CHAP password). Access control can be performed using the initiator’s name (IQN), its IP address, or its CHAP username.

VMware and TrueNAS iSCSI Setup

The setup of vCenter iSCSI to TrueNAS requires that ESXi hosts be set up as initiators and TrueNAS storage arrays are set up as targets. To configure ESXi hosts with vCenter, see the VMware vCenter documentation .

To configure TrueNAS Enterprise storage arrays with vCenter, the TrueNAS team has developed a vCenter plugin . The plugin uses TrueNAS REST APIs to automate LUN creation and assignment. When an VMFS (iSCSI) datastore is created using the plugin, the TrueNAS systems automatically activate their iSCSI system services.

Hosting VMware Storage with TrueNAS

When using TrueNAS as a VMware datastore:

VMware Snapshots on TrueNAS

When TrueNAS is used as a VMware datastore, you can coordinate creating and using ZFS and VMware snapshots. See VMware Snapshots for details.

vStorage APIs for Array Integration (VAAI) for iSCSI

VMware’s VAAI allows storage tasks such as large data moves to be offloaded from the virtualization hardware to the storage array. These operations are performed locally on the NAS without transferring bulk data over the network.

VAAI for iSCSI supports these operations:

Allows multiple initiators to synchronize LUN access in a fine-grained manner rather than locking the whole LUN and preventing other hosts from accessing the same LUN simultaneously.
Copies disk blocks on the NAS. Copies occur locally rather than over the network. This operation is similar to Microsoft ODX .
Allows a hypervisor to query the NAS to determine whether a LUN is using thin provisioning.
Pauses virtual machines when a pool runs out of space. The space issue can be fixed and the virtual machines continue instead of reporting write errors.
The system reports a warning when a configurable capacity is reached. In TrueNAS, this threshold is configured at the storage pool level when using zvols or at the extent level for both file and device based extents. Typically, the warning is set at the pool level, unless file extents are used, in which case it must be set at the extent level.
Informs TrueNAS that the space occupied by deleted files should be freed. Without unmap, the NAS is unaware of freed space created when the initiator deletes files. For this feature to work, the initiator must support the unmap command.
Zeros out disk regions. When allocating virtual machines with thick provisioning, the zero write is done locally, rather than over the network. This makes virtual machine creation and any other zeroing of disk regions much quicker.

Additional VMWare Articles

TrueNAS Virtualized with ESXi

This article describes deploying a TrueNAS virtual machine (VM) in a VMWare ESXi environment. ESXi version 8 is shown in this article.

Before You Begin

Before starting configuration work in VMWare:

  • Allocate a drive or a few drives in your server cluster for the TrueNAS virtual machine. The anticipated storage needs for your deployment determines the size and number of drives you need.

  • Download the .iso file from the TrueNAS.com downloads page .

  • Visit the TrueNAS hardware guide and take note of the minimum system requirements. Note the information in the Memory and Storage Device Sizing sections.

    The hardware guide provides guidance on how much memory, the number of CPUs, and drive size you need to configure.

  • Determine your data storage requirements. Consider the number of storage pools and the type of storage you need for your deployment or how you plan to use the TrueNAS. See Setting Up Storage for information on pool layouts.

    Determine the number of virtual hard drives (vmdks) you want to create when setting up your virtual machine. For example, if you want a mirror layout you need to add a minimum of three drives, one for the boot drive and two for the mirrored storage. If you want a mirror with a hot spare, you need to add a minimum of four drives, one for the boot drive, two for the mirrored storage and one for the hot spare.

  • Configure your network per your system requirements. Have the information ready when you configure your TrueNAS global network settings in the web interface.

Deploying TrueNAS in VMWare ESXi

Launch your VMware ESXi interface using your login credentials.

Setting Up Storage

Set up the storage needed for the new VM. First click on Storage and then the drive allocated for TrueNAS. Create the datastore directories for the ISO media and the TrueNAS virtual machine.

Need more help setting up storage? Click here.
  1. Select Storage on the navigation panel on the left side of the screen.

  2. Select the drive you allocated for the TrueNAS VM. The example uses DS-1. The detailed view for this drive displays.

  3. Click Datastore Browser to open the browser window, and then click Create directory. Enter the name of the directory in the New Directory dialog.

    Add two directories. The first directory is for TrueNAS storage needs the other for the TrueNAS .iso file you downloaded. Choose a name that is easy to identify on a list of virtual machines. The example uses truenas 1 as the directory name for the storage needs. Click Create directory in the New directory dialog to create the directory.

    Click Create directory again to open the New directory dialog to create the second new directory. When finished you should have both directories listed in the Datastore Browser window.

Uploading the TrueNAS ISO

After creating the ISO directory, upload the TrueNAS .iso file to the ISO directory.

Select the directory created for the .iso file and then click Upload.

Creating the Virtual Machine

After setting up the storage needs, create the new virtual machine. Select Virtual Machines on the navigation panel on the left side of the screen.

Select the storage drive for the TrueNAS VM and then click Create/Register VM. The New virtual machine creation wizard displays. Use these settings:

  • On the Select a name and guest OS wizard screen, select Linux for Guest OS family and then Debian GNU/Linux 6 (64-bit) on the Guest OS Version dropdown list.

  • On the Customize settings wizard screen set CPU to 2, set Memory to 16 GB, and Hard disk 1 to 16 GB.

    You need a minimum of two drives set to at least 16 GB. To add a drive, click Add hard disk.

    You can add more hard drive now or use the Edit option to add drives later after saving the new virtual machine. To create a mirror layout you need at least three hard drives, one for boot and two to create the mirrored storage. Add as many hard drives as you need to create your desired storage layout. You can add more drives later after you install TrueNAS.

Need more help using the ESXi VM Wizard? Click here.

To create the virtual machine for your TrueNAS, from the Virtual Machines screen:

  1. Click Create/Register VM to display the configuration wizard. On the Select creation type screen select Create a new virtual machine and then click Next.

  2. Configure the VM name and guest OS settings. Type the name for the TrueNAS VM. Use the name you gave the new directory. The example uses truenas1.

    Select Linux for Guest OS family and then Debian GNU/Linux 6 (64-bit) on the Guest OS Version dropdown list.

    Click Next

  3. Select the storage drive you allocated for the TrueNAS VM. The example uses DS-1. Click Next

  4. Enter these settings in the Customize settings screen.

    SettingValue Description
    CPU2
    Memory8 GB
    Hard disk 116 GB. This first disk is the boot disk.
    CD/DVD Drive 1Select Datastore ISO file from the dropdown list of options.
    1. Add the second required disk. Click Add hard disk and select either New standard hard disk or Existing hard disk to add a second hard drive.

      In the New Hard disk row set the disk to 16 GB at a minimum.

      Click on the New Hard disk row to expand it. If the Location field does not display the drive and directory you created for TrueNAS, click Browse to open the Select directory window and select the directory for your TrueNAS deployment. Click on Select to change the location and close the Select directory window and return to the VM wizard screen.

      Change any other disk drive settings you want or need to change for your hard disk drive hardware.

      If needed, click Add hard disk again to add more hard drives if you want to equip your VM with more than the minimum required number of drives.

      In order to prevent potential errors when importing your pool, a custom parameter should be set to allow VMware to provide serial numbers for virtual hard disks. Click on the VM Options tab, and then click on Advanced to expand this section. Next to the Configuration Parameters section, click on Edit Configuration. Click Add parameter. In the Key column, enter disk.EnableUUID and enter TRUE in the Value column. Click OK.

      Click Next to finish creating the VM. You can use the Edit option later to add more drives to support your TrueNAS deployment.

      Each storage layout has different disk minimum disk requirements. See Setting Up Storage for information on pool layouts.

    2. Review the Ready to Complete screen to verify the settings are correct for your deployment.

      Click Finish. The new TrueNAS VM displays on the list of virtual machines.

Reviewing the New TrueNAS VM

To view the VM details screen click on the VM name.

You can now edit your TrueNAS VM to change any setting or add more hard drives to support your deployment, or you can proceed to installing TrueNAS.

Installing TrueNAS

Click Power on and then click Console to display the dropdown list of console options. When the console opens, it displays the TrueNAS Console Setup screen.

Follow the installation instructions to complete the installation of TrueNAS.

Editing the Virtual Machine

You can edit your VM settings after you complete the initial setup. You can add new hard drives to your VM using the edit option found on the VM details screen. Click Edit to display the Editing Settings screen.

Click Add hard disk and select the option you want to use. For a new drive select New standard hard disk. A New Hard disk row displays and is highlighted.

To edit the hard disk details click on the row to expand it and display the drive settings you can configure.

TrueNAS vCenter Plugin

TrueNAS Enterprise icon TrueNAS Enterprise

This plugin is available to TrueNAS Enterprise customers. TrueNAS Enterprise Support staff are available to assist with deploying and upgrading the TrueNAS vCenter Plugin. Please contact TrueNAS Enterprise Support to learn more and schedule a time to deploy or upgrade the plugin.

Contacting TrueNAS Enterprise Support

Customers who purchase TrueNAS hardware or that want additional support must have a support contract to use TrueNAS Support Services. The TrueNAS Community forums provides free support for users without a TrueNAS Support contract.

TrueNAS Customer Support
Support Portalhttps://support.truenas.com
Emailsupport@truenas.com
Telephone and Other Resourceshttps://www.truenas.com/support/

vCenter Server provides a web interface to manage physical and virtual machines. The TrueNAS vCenter Plugin activates management options for TrueNAS hardware attached to vCenter Server. This enables limited TrueNAS system management from a single interface.

The TrueNAS vCenter plugin is currently compatible with VMware vCenter Server versions 8.0 and 7.0 .

The vCenter plugin supports many different TrueNAS software versions installed on TrueNAS Enterprise licensed hardware:

VersionSupported
12.0Yes
13.0Yes
22.12Yes (exception)
23.10Yes (exception)
24.04Yes (exception)
24.10Yes (exception)
25.04Yes
25.10Yes

Exceptions

  • TrueNAS 22.12, 23.10, 24.04, and 24.10 do not support Fibre Channel for VMFS datastores.

Plugin Release Notes

TrueNAS vCenter Plugin 3.7.0

January 6, 2026

TrueNAS is pleased to release TrueNAS vCenter Plugin version 3.7.0! This release expands TrueNAS compatibility to 25.10 and include these changes:

  • Use the TrueNAS WebSocket API instead of the deprecated REST method.
  • More accurate space capacity reporting.
  • Remove read-only datasets for NFS datastore creation.
  • Fix Fibre Channel port selection.

Previous Versions Release Notes

3.6.0 (Click to expand)

September 3, 2024

TrueNAS is pleased to release TrueNAS vCenter Plugin version 3.6.0! This is a minor release to fix an issue with VMFS datastore management with TrueNAS 24.04 systems that have iSCSI ALUA enabled.

Known Issues

The TrueNAS vCenter Plugin deployment status can appear to be stuck in the vCenter activity panel. This is a cosmetic issue and the plugin deploys fully.

3.5.0 (Click to expand)

October 6, 2023

TrueNAS is pleased to release TrueNAS vCenter Plugin version 3.5.0! This is a minor release designed to make the plugin compatible with vCenter 7.0 and 8.0 and minor bugfixes.

TrueNAS 13.0 systems are compatible with the 3.5.0 plugin. TrueNAS 12.0 deployments connected to an earlier version of this plugin should upgrade to 13.0 before attempting to connect to the 3.5.0 version of the plugin.

Changelog

Individual tickets require an TrueNAS Jira login to view.

  • Plugin compatibility with vCenter 7.0 and 8.0
  • Fix plugin UI behavior when VMFS and NFS datastore types are selected
  • Plugin dependencies update
  • Offline installer fix
3.4.0 (Click to expand)

September 2, 2021

TrueNAS is pleased to release version 3.4.0 of the TrueNAS vCenter plugin. The 3.4.0 plugin has numerous improvements, including:

  • Fibre Channel datastore support.
  • Development script rewritten.
  • Revamped plugin build and MANIFEST files.
  • HTTPS that was disabled in 3.3.0 due to MANIFEST errors, has been re-enabled.
  • Fixed deployment script logging.

Please note that deploying this version of the TrueNAS vCenter Plugin requires TrueNAS host systems with version 11.3 or later installed and vCenter 6.7-U3 or earlier deployed.

New Feature

  • [VCP-95] - Overhaul Deployment
  • [VCP-117] - Add Fibre Channel datastore support

Improvement

  • [VCP-115] - Refocus snapshot and snapshot task creation for TrueCommand

Bug

  • [VCP-114] - Deployment logging is not functional
  • [VCP-116] - vCenter Plugin Install
  • [VCP-125] - The error message should say "You don't have sufficient privilege to Create Datastore "
  • [VCP-127] - Cloning Fibre Channel datastores or parallel HBAs fails on target creation
  • [VCP-128] - Support log file Error states that it is an unsupported protocol scheme
  • [VCP-129] - Remove the text about vCenter removing datastores from the TrueNAS
  • [VCP-130] - Cloning a VMFS datastore created it on the TN but not on vCenter

Known Issues

KeySummaryWorkaround
VCP-135FC datastore rollback fails.VMFS rollback fails. Users will have to continue rollback themselves, disabling FC port and then deleting the target, since this release doesn’t disable the FC port first, which causes an exception. See related ticket NAS-111676 .
VCP-89vCenter 7.0b has issues rendering the plugin interface.This is scheduled to be resolved in a future plugin update, but it is recommended for customers to continue using vCenter 6.7-U3 or earlier with this plugin.
The plugin replication feature has been removed due to numerous long-standing issues that could not be resolved for this version of the plugin.Please continue to create replication tasks using the TrueNAS web interface.
VCP-113Cloned datastores always use the first listed interface.To work around this issue, either ensure the original datastore is using the desired interface or create a new datastore instead of making a clone.
3.3.0 (Click to expand)

November 24, 2020

TrueNAS is pleased to release version 3.3.0 of the TrueNAS vCenter plugin! This is a maintenance release of the plugin, designed to improve functionality and add support for TrueNAS 12.0 host systems. As part of this maintenance release, additional testing resources have been devoted to the plugin and several large-scale improvements have also been identified for future plugin versions.

Improvement

  • VCP-78 - Convert to TrueNAS API 2.0 for improved compatibility and reliability with TrueNAS 11.3 and 12.0

Bug

  • VCP-84 - vCenter plugin does not function with TrueNAS 11.3 unless the legacy API 1.0 endpoint is enabled

Known Issues

  • vCenter 7.0b has issues rendering the plugin interface (VCP-89 ). This is scheduled to be resolved in a future plugin update, but it is recommended for customers to continue using vCenter 6.7-U3 or earlier with this plugin.
  • https has been disabled for the 3.3.0 release (VCP-105 ) due to an issue with connector initialization failures and conflicts with the Apache HTTPClient dependency. TrueNAS users must enable http on their TrueNAS system for the 3.3.0 plugin to connect properly! To verify TrueNAS 11.3 or 12.0 can connect, log in to the web interface, go to System > General, and make sure Web Interface HTTP > HTTPS Redirect* is unset. This issue is scheduled for resolution in plugin version 4.0 .
  • The plugin replication feature has been removed due to numerous long-standing issues that could not be resolved for this version of the plugin. Continue to create replication tasks using the TrueNAS web interface.
  • Cloned datastores always use the first listed interface (VCP-113 ). To work around this issue, either ensure the original datastore is using the desired interface or create a new datastore instead of making a clone.
  • Plugin deployment complains about logging system error (VCP-114 ). This is a cosmetic error based on initial plugin deployments creating an empty log file. There is no impact to installing or using the vCenter Plugin.
3.2.0 (Click to expand)

March 24, 2020

TrueNAS is pleased to release version 3.2.0 of the TrueNAS vCenter plugin! This is the newest release of the plugin, designed to allow managing TrueNAS systems from within VMware vCenter. The 3.2.0 plugin has numerous improvements, like iSCSI fixes, communication support, and new vCenter 7.0 support. Here are a few other highlights of this release:

  • Initial support for vCenter 7.0 [ NAS-102950 ]
  • Added support for secure communication with TrueNAS (HTTPS) [ NAS-103636 ]
  • Refresh asynchronously when adding a new datastore [ NAS-100183 ]
  • iSCSI configuration bug fixes [ NAS-103853 ]

For a detailed list of all vCenter plugin 3.2.0 changes, please see the completed vCenter plugin 3.2.0 Jira tickets .

3.1.0 (Click to expand)

July 16, 2019

TrueNAS is pleased to announce the availability of vCenter 3.1.0, a standalone plugin for managing TrueNAS systems within VMware vSphere.

New Features

  • [NAS-100574] – Use standalone application for automatic deployment of vCenter plugin
  • [NAS-100839] – Add VMFS6 support

Improvements

  • [NAS-100070] – Provide an indication when user times out for inactivity
  • [NAS-100075] – Add ability to remove user and role from RBAC
  • [NAS-101357] – Remove duplicate Configure and Update tabs
  • [NAS-101600] – Add ability to select cluster for VMFS datastore
  • [NAS-102360] – Store deployment and support logs in log folder

Bug Fixes

  • [NAS-101355] – Fix issue that prevented re-adding a removed host
  • [NAS-101356] – Remove spurious Other Action from Actions menu
  • [NAS-101358] – Ensure network interfaces retrieve a bind IP to be used to create Portal
  • [NAS-101359] – Display High Availability status
  • [NAS-101791] – Update output text from installer
  • [NAS-101840] – Improve uninstall and upgrade handling
  • [NAS-101846] – Fix issue when mounting NFS share in a cluster
  • [NAS-102312] – Fix issue when creating a VMFS datastore in TrueNAS 11.2-U5
  • [NAS-102324] – Fix problem with stalls when cloning datastore
  • [NAS-102365] – Fix problems related to removing roles, users, and permissions
  • [NAS-102388] – Indicate that the user needs to use the stop then start commands to restart vCenter 6.5
  • [NAS-102429] – Ensure text box for Hostname is read-only
  • [NAS-102455] – Warn user in documentation of maximum supported volumes limit

Using the Plugin

After being assisted with plugin deployment, using the plugin involves connecting TrueNAS hosts and configuring the various features to your use case. The interface suspends after several minutes of inactivity and displays a warning that the interface is suspended and must be refreshed.

Connecting TrueNAS Hosts

In a browser, go to your vCenter Server web interface, log in, and click Menu > Global Inventory Lists > Manage TrueNAS > + Add host to add TrueNAS hosts to vCenter.

Fill in the required information. A hostname or IP address can be used for the TrueNAS system. Using an API key with TrueNAS releases 25.04 and newer also requires configuring an HTTPS connection. For High Availability systems, use the VIP address or hostname to ensure the plugin remains connected in the event of a system failover. Click Add Host and the TrueNAS hostname or IP address appears in the list of connected systems.

Right-click a list entry to see options to edit the host user credentials or remove that host from vCenter. Click a hostname to see the system management options. Clicking a system entry opens the management interface.

System Management

The system management screen shows a summary and options to modify the system.

To modify the TrueNAS system, click Configure. Each submenu has a row of buttons to add or make changes to any items in the list. vCenter works in the background when resolving change requests. Refresh updates the list to see any items that might have finished being created or modified. Tasks in progress display in the collapsible Recent Tasks area across the bottom of the screen. Naming objects in the plugin follow a standard convention. Names can contain spaces, alphanumeric, -, and . characters.

Click Summary to view basic information about this system. The IP address, installed version of TrueNAS, storage availability, and system service status are shown.

The vCenter plugin can create two different kinds of datastores on a TrueNAS host:

  • Virtual Machine File System (VMFS) for iSCSI block-level access
  • Network File System (NFS) for file-level access

List

vCenter has a default limit of eight NFS datastores per ESX host. See this VMware article about maximum supported volumes for more details.

The list shows Datastores that have been created and are managed by the plugin. The list does not display other types of shares created and managed through the TrueNAS web interface.

Add Datastore

Click + (Add) to create a new datastore.

Choose an ESXi host for the datastore or an ESXi cluster to spread the reserved space across multiple systems. Clusters can be used as long as a single member of the cluster supports the datastore features. Click Next.

Choose the datastore type. VMFS datastores provide block-level (iSCSI) storage for virtual machines. NFS datastores provide file-level storage access. Click Next to view specific options for each datastore type

VMFS Datastore Configuration

Enter a name for the new datastore. Enter a value and choose a unit for the Datastore Size. The size must be smaller than the chosen Volume. The minimum size for a VMFS datastore is 2GB.

The Data Path IP shows the TrueNAS system IP address. Users can select other connected TrueNAS systems with the dropdown list.

Select the datastore from the VMFS Version dropdown list. Choose between the modern version 6 or the legacy versions 3 and 5. See the VMware VMFS documentation for detailed comparisons.

Enabling Sparse Volume reserves less than the total available size and metadata storage space, but it can cause writing to fail if the volume has little space remaining. See zfs(8) for more details.

Select the TrueNAS pool to hold the datastore. The volume must be large enough to contain the chosen datastore size.

If you have a high availability NAS with a Fibre Channel license and a network configured to form a Fibre Channel fabric with the NAS and ESXi, you are also able to select a Fibre Channel port for the datastore.

Selecting a Fibre Channel port enables that port with the datastore target on the NAS and creates a datastore with a corresponding Fibre Channel HBA on the ESXi. One target per port is supported.

NFS Datastore Configuration

Enter a name for the new datastore. The Data Path IP shows the TrueNAS system IP address. Users can select other TrueNAS systems added to vCenter Server with the dropdown list. Select the path to the TrueNAS NFS share from the Mount Share Path dropdown list. Click Next.

Review Datastore Configuration

After configuring the VMFS or NFS datastore, vCenter shows a summary of the new datastore. To begin creating the datastore, review the settings and click Finish. The interface shows a warning when the datastore contains more than 80% of the available space. Click Refresh to see the new datastore after creating it.

Extending a Datastore

Users needing additional space can increase the total size of a VMFS datastore. Highlight a VMFS datastore from the list and click Edit to extend it.

The new size must be larger than the current size and less than the total available capacity. For best performance, we recommend using less than 80% of the total available size. Using decimal notation rounds down the size to the nearest 1024 bytes (or whatever the configured default block size for the volume is). Click Extend Datastore. Datastores reserve some available space for internal use and set the available capacity to slightly less than the chosen amount.

Cloning Datastores

Cloning an NFS or VMFS datastore duplicates that datastore. Select a datastore from the list and click Clone. Choose an ESXi host to store the new datastore and click Next. Enter a name for the clone and click Clone Datastore.

vCenter starts the cloning process and continues the task in the background. Click Refresh after some time to see the cloned datastore.

An administrator can grant vCenter users specific role-based access to the TrueNAS systems managed by this plugin. New vCenter users must be created in Menu > Administration > Single Sign On > Users and Groups before RBAC roles can be created.

Role NameUser is allowed to:
DiscoveryAdd TrueNAS systems to vCenter
Create ClonesCopy existing datastores
Create StorageCreate new datastores
Modify StorageEdit existing datastores
Destroy StorageDelete datastores

Each role gives the user the ability to perform the functions in that role and all of the roles that precede it in the list. For example, a user with a Create Storage role can create a new datastore and clone existing datastores. The vCenter administrator account always has all permissions.

Add a Role to an Existing vCenter User

Click + to open the Add Role Based Access Control window. Type a user name in the form DOMAIN.NAME\username, where DOMAIN.NAME is the user domain found in the vCenter Menu > Administration > Single Sign On > Users and Groups page. Open the Assign Role dropdown list and choose a role for the user. Click Add to add the role.

If the entry does not appear in the list immediately, click Refresh.