Mount a Datastore with
ESXCLILast Updated December 16, 2024
The
esxcli storage
filesystem
commands support mounting and unmounting volumes. You can
also specify whether to persist the mounted volumes across reboots by using the
--no-persist
option.
Use the
esxcli storage
filesystem
command to list mounted volumes, mount new volumes, and
unmount a volume. Specify one of the connection options listed in
Connection Options for ESXCLI Host Management Commands
in place of
<conn_options>
.
- List all volumes that have been detected as snapshots.
- Runesxcli storage filesystem mountwith the volume label or volume UUID.This command fails if the original copy is online.
You can later run
esxcli storage
filesystem volume unmount
to unmount the snapshot volume.