Document fs_type and fs_options in snapshots/devmapper/README.md

Resolves: #6499

Signed-off-by: Henry Wang <henwang@amazon.com>
This commit is contained in:
Henry Wang 2022-02-02 21:57:44 +00:00
parent 604c462d7b
commit 2d9d5fddbd

View File

@ -27,6 +27,8 @@ The following configuration flags are supported:
* `base_image_size` - defines how much space to allocate when creating the base device * `base_image_size` - defines how much space to allocate when creating the base device
* `async_remove` - flag to async remove device using snapshot GC's cleanup callback * `async_remove` - flag to async remove device using snapshot GC's cleanup callback
* `discard_blocks` - whether to discard blocks when removing a device. This is especially useful for returning disk space to the filesystem when using loopback devices. * `discard_blocks` - whether to discard blocks when removing a device. This is especially useful for returning disk space to the filesystem when using loopback devices.
* `fs_type` - defines the file system to use for snapshot device mount. Valid values are `ext4` and `xfs`. Defaults to `ext4` if unspecified.
* `fs_options` - optionally defines the file system options. This is currently only applicable to `ext4` file system.
Pool name and base image size are required snapshotter parameters. Pool name and base image size are required snapshotter parameters.