kadalu / moana

Moana is a frontend for the Kadalu Storage / GlusterFS. Moana provides tools for setting up and managing the Kadalu Storage / Gluster pools.
GNU General Public License v3.0
18 stars 7 forks source link

Sub-volume APIs #87

Open aravindavk opened 3 years ago

aravindavk commented 3 years ago

Add support for Simple Quota based Sub volumes.

Create

kadalu subvol create <volname>/<subvol-name> size <size>

Example:

kadalu subvol create myvol/photos size 10G

Delete

kadalu subvol delete <volname>/<subvol-name>

Archive

kadalu subvol archive <volname>/<subvol-name>

Expand

kadalu subvol expand <volname>/<subvol-name> size <new-size>

Info

kadalu subvol info [--status] [<volname>]

Mount

Enhance the mount script to support mounting the subvol.

mount -t kadalu <host>:/subvols/<volname>@<subvol-name> <mount-path>
aravindavk commented 3 years ago

Add support for auto creating the Volume name.

kadalu subvol create myvol size 10G --auto-name