Command 'juju import-filesystem'

The information in this doc is based on Juju version 3.5.3, and may not accurately reflect other versions of Juju.


Imports a filesystem into the model.


<storage-provider> <provider-id> <storage-name>


Flag Default Usage
--B, --no-browser-login false Do not use web browser for authentication
--m, --model Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>


Import an existing filesystem backed by an EBS volume, and assign it the “pgdata” storage name. Juju will associate a storage instance ID like “pgdata/0” with the volume and filesystem contained within.

juju import-filesystem ebs vol-123456 pgdata


Import an existing filesystem into the model. This will lead to the model taking ownership of the storage, so you must take care not to import storage that is in use by another Juju model.

To import a filesystem, you must specify three things:

  • the storage provider which manages the storage, and with which the storage will be associated
  • the storage provider ID for the filesystem, or volume that backs the filesystem
  • the storage name to assign to the filesystem, corresponding to the storage name used by a charm

Once a filesystem is imported, Juju will create an associated storage instance using the given storage name.

Last updated 12 days ago. Help improve this document in the forum.