mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
19356c03e8
Using Ubuntu 14.04, test fails because 'blkid' < 2.21 doesn't recognize
'ocfs2' filesystem smaller than 108Mo:
6baa150398
filesystem: fix MKFS_FORCE_FLAGS for ocfs2
mkfs.ocfs2 -F won't work because mkfs.ocfs2 asks for a confirmation:
$ mkfs.ocfs2 -F img
mkfs.ocfs2 1.6.4
Cluster stack: classic o2cb
Overwriting existing ocfs2 partition.
WARNING: Cluster check disabled.
Proceed (y/N):
The undocumented 'x' switch must be used too.
16 lines
621 B
YAML
16 lines
621 B
YAML
tested_filesystems:
|
|
# key: fstype
|
|
# fssize: size (Mo)
|
|
# grow: True if resizefs is supported
|
|
# Other minimal sizes:
|
|
# - XFS: 20Mo
|
|
# - Btrfs: 100Mo (50Mo when "--metadata single" is used)
|
|
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: 100, grow: False} # grow not implemented
|
|
vfat: {fssize: 20, grow: True}
|
|
ocfs2: {fssize: '{{ ocfs2_fssize }}', grow: False} # grow not implemented
|
|
# untested: lvm, requires a block device
|