mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
24b1d92e84
* Use 'xfs_info' to query fs size, that doesn't always require the device be
mounted. Although still query mountpoint first for backward compatibility.
* Do not fail whith fstype=xfs and resizefs=yes if filesystem already fills
its underlying device.
* Include xfs in the tasks that test idempotency of resizefs option
* Add changelogs/fragments/1478-filesystem-fix-1457-resizefs-idempotency.yml
(cherry picked from commit aa95d8a5b7
)
Co-authored-by: quidame <quidame@poivron.org>
23 lines
975 B
YAML
23 lines
975 B
YAML
---
|
|
tested_filesystems:
|
|
# key: fstype
|
|
# fssize: size (Mo)
|
|
# grow: True if resizefs is supported
|
|
# Other minimal sizes:
|
|
# - XFS: 20Mo
|
|
# - Btrfs: 150Mo (50Mo when "--metadata single" is used and 100Mb when on newer Fedora versions)
|
|
# - f2fs:
|
|
# - 1.2.0 requires at leat 116Mo
|
|
# - 1.7.0 requires at least 30Mo
|
|
# - 1.10.0 requires at least 38Mo
|
|
# - resizefs asserts when initial fs is smaller than 60Mo and seems to require 1.10.0
|
|
ext4: {fssize: 10, grow: True}
|
|
ext4dev: {fssize: 10, grow: True}
|
|
ext3: {fssize: 10, grow: True}
|
|
ext2: {fssize: 10, grow: True}
|
|
xfs: {fssize: 20, grow: False} # grow requires a mounted filesystem
|
|
btrfs: {fssize: 150, grow: False} # grow not implemented
|
|
vfat: {fssize: 20, grow: True}
|
|
ocfs2: {fssize: '{{ ocfs2_fssize }}', grow: False} # grow not implemented
|
|
f2fs: {fssize: '{{ f2fs_fssize|default(60) }}', grow: 'f2fs_version is version("1.10.0", ">=")'}
|
|
lvm: {fssize: 20, grow: True}
|