→ Applies to: VMware ESXi 6.5 and above
Unmount a datastore
Step 1. Connect to VMware ESXi CLI (via SSH)
Step 2. List all available datastores to identify the one you want to unmount
esxcli storage nfs list
Step 3. Unmount the datastore (replace <datastore_name> with your datastore name)
esxcfg-nas -d <datastore_name>
Step 4. List the filesystem to ensure the datastore is unmounted
esxcli storage filesystem list
Mount a datastore
Step 1. Connect to VMware ESXi CLI (via SSH)
Step 2. Mount the datastore (replace <synetoOS_IP>,<datastore_path> and <datastore_name> with the correct information)
esxcli storage nfs add -H <synetoOS_IP> -s <datastore_path> -v <datastore_name>
Step 3. List the filesystem to ensure the datastore is mounted
esxcli storage filesystem list