This module creates file system.

Options

namedescriptionrequiredchoices
fstype File System type to be created. true
dev Target block device. true
force If yes, allows to create new filesystem on devices that already has filesystem.
  • yes
  • no
resizefs If yes, if the block device and filessytem size differ, grow the filesystem into the space. Note, XFS Will only grow if mounted.
  • yes
  • no
opts List of options to be passed to mkfs command.

Author

Alexander Bulimov (@abulimov)