Create a new Zesty Disk filesystem on Linux
  • 1 Minute to read
  • PDF

Create a new Zesty Disk filesystem on Linux

  • PDF

Article summary

This topic describes how to create a new Zesty Disk filesystem on a clean volume attached to a Linux instance.

After the completion of this operation, you have a new Zesty Disk mount point that will expand and shrink automatically.

Prerequisites

  • User access to the Zesty platform

  • Root user access to the instance with the created, empty volume

  • The Zesty Disk Agent is running on the instance

To create a new Zesty Disk filesystem:

  1. From the Zesty platform main menu, select Zesty Disk.

  2. From the Managed Filesystems tab, click Install agent.

  3. In the Install agent dialog, expand the Linux dropdown.

  4. SSH or Putty into the prepared instance as a root user.

  5. Copy the second command and run it on the instance:
    zestyctl disk mount <device> <path>
    For example, to create the /mnt/data mount point on the /dev/xvdb filesystem, run:
    zestyctl disk mount /dev/xvdb /mnt/data

    When the process is complete, a confirmation message is displayed:
    Zesty Device mount completed

After the Agent reports back, you can see the new Zesty disk mount point in the Managed filesystems tab. You may have to click Reload:


The new Zesty disk (A) has a capacity of 45 GB (B). Zesty took a 20 GB mount point and added an additional 25 GB mount point to enable expansion for user writes.

You can see the Zesty Disk earlier on the instance by running zestyctl disk list.
Output similar to the following is shown:

xvdb is a Zesty Disk.
(xvda1 is not a Zesty Disk. You can use Zesty EZswitch to migrate data to it and turn it into a Zesty Disk. For more information, see Migrate Existing Data to Zesty Disk.)

In the following figure, you can see the two mount points (xvdb and xvdc) that were created in the instance:

Congratulations!


Was this article helpful?