Skip to main content

Adding a filesystem to a volume

For file and object storage use cases, you must create a filesystem on the volume. Without a filesystem, clients are unable to use the volume. To add a filesystem to a volume, use the command:

applications filesystems add --application=<name> --volumes=<names...>

This is a basic version of the command. For more detailed information and addition options, see Adding filesystems.

Command options

  • --application=<name>: The application instance containing the volumes that you want to create a filesystem on. Replace <name> with the name of the application instance.
  • --volumes=<names...>: The volumes that you want to create filesystems on. Replace <names...> with a list of existing volumes.

Examples

To create a filesystem on volumes vol1, vol2, and vol3 that are in the application instance HR, run:

applications filesystems add --application HR --volumes vol1 vol2 vol3