This topic describes the zestyctl disk mount
CLI command.
This command mounts a device path to a mount path (equivalent of the Linux mount
command).
It includes flags that can be used to:
Synchronize the Zesty Disk mountpoint list (in zesty/zesty-disk-mountpoint) with current configured Zesty Disks. This file is used to automatically mount Zesty Disk during instance boot, similar to the purpose of the Linux operating system file /etc/fstab.
Start a filesystem with multiple devices.
Syntax
zestyctl disk mount <device path> <mount path> [options]
Parameters
Parameter | Description | Required |
---|---|---|
| Run the mount command | Y |
| The device path to be mounted | Y |
| The mount path that should be mounted | Y |
| Ensures that all Zesty Disk (Btrfs) mount points are in synch with the operating system to be automatically mounted at the next reboot. | N |
| Forces the creation of a new filesystem on the device even if the device already contains a filesystem or data. Caution: This flag overwrites any existing data on the device. | N |
| To start the filesystem with more than one volume, add the volume name. You can add multiple devices as a comma-separated list, without spaces (for example, | N |
Prerequisites
Zesty Disk Agent is installed
The zestyctl CLI is installed as part of the Agent installation. For more information, see Install the Zesty Disk Agent on standalone instances.
Root access to the Linux instance