zestyctl disk mount - Mount a device

Prev Next

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

zestyctl disk mount

Run the mount command

Y

<device path>

The device path to be mounted

Y

<mount path>

The mount path that should be mounted

Y

--synch

Ensures that all Zesty Disk (Btrfs) mount points are in synch with the operating system to be automatically mounted at the next reboot.

N

-–force

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

–add <string>

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, /dev/nvme3na,/dev/nvme4n1)

N

Prerequisites