This KB outlines the steps to list mounted and unmounted volumes along with steps on how to mount and unmount a volume/VMFS Datastore.
VMware ESXi 6.x
VMware ESXi 7.x
VMware ESXi 8.x
Use the esxcli storage filesystem command to list mounted volumes, mount volumes, and unmount a volume.
You can also specify whether to persist the mounted volumes across reboots by using the --no-persist
option:
esxcli storage filesystem list
# Note in the Example below there is no listed mount point for the unmounted datastore and the "mounted status" is false
esxcli storage filesystem mount --volume-label=<label>|--volume-uuid=<VMFS-UUID>
esxcli storage filesystem unmount --volume-label=<label>|--volume-uuid=<VMFS-UUID>