mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
24 lines
912 B
Plaintext
24 lines
912 B
Plaintext
// Be sure to set the :provider: value in each assembly
|
|
// on the line before the include statement for this module.
|
|
// For example:
|
|
// :provider: AWS
|
|
//
|
|
// Module included in the following assemblies:
|
|
//
|
|
// * storage/persistent_storage-aws.adoc
|
|
// * storage/persistent_storage-gce.adoc
|
|
|
|
[id="volume-format-{provider}_{context}"]
|
|
= Volume format
|
|
Before {product-title} mounts the volume and passes it to a container, it
|
|
checks that it contains a file system as specified by the `fsType`
|
|
parameter in the persistent volume definition. If the device is not
|
|
formatted with the file system, all data from the device is erased and the
|
|
device is automatically formatted with the given file system.
|
|
|
|
This allows using unformatted {provider} volumes as persistent volumes,
|
|
because {product-title} formats them before the first use.
|
|
|
|
// Undefined {provider} attribute, so that any mistakes are easily spotted
|
|
:!provider:
|