Resource Type: filesystem

Defined in:
modules/lvm/lib/puppet/type/filesystem.rb
Providers:
aix
lvm

Overview

The filesystem type

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • size

    Configures the size of the filesystem. Supports filesystem resizing. The size will be rounded up to the nearest multiple of the partition size. AIX only.

Parameters

  • accounting

    Specify accounting subsystem support, AIX only

    Supported values:
    • true
    • false
  • ag_size

    Specify the allocation group size in megabytes, AIX only.

    Supported values:
    • /\d+/
  • agblksize

    JFS2 block size in bytes, AIX only.

    Supported values:
    • /\d+/
  • atboot

    Specify whether the file system is mounted at boot time, AIX only

    Supported values:
    • true
    • false
  • compress

    Data compression, LZ or no. AIX only

    Supported values:
    • LG
    • no
  • device

    Device to create the filesystem on, this can be a device or a logical volume. AIX only

  • encrypted

    Specify and encrypted filesystem. AIX only

    Supported values:
    • true
    • false
  • extended_attributes

    Format to be used to store extended attributes. AIX only

    Supported values:
    • v1
    • v2
  • frag

    JFS fragment size in bytes. AIX only

    Supported values:
    • /\d+/
  • fs_type

    The file system type. eg. ext3.

  • initial_size

    Initial size of the filesystem, Used only for resource creation, when using this option Puppet will not manage or maintain the size. To resize filesystems see the size property. AIX only.

  • isnapshot

    Specify whether the filesystem supports internal snapshots, AIX only

    Supported values:
    • true
    • false
  • large_files

    Large file enabled file system. AIX only

    Supported values:
    • true
    • false
  • log_partitions

    Specify the size of the log logical volume as number of logical partitions, AIX only

  • logname

    Configure the log logical volume. AIX only

  • logsize

    Size for an inline log in MB, AIX only

    Supported values:
    • /\d+/
  • maxext

    Size of a file extent in file system blocks, AIX only

    Supported values:
    • /\d+/
  • mkfs_cmd

    Command to use to create the file system. Defaults to mkswap for fs_type=swap, otherwise mkfs.{fs_type}

  • mount_options

    Specify the options to be passed to the mount command. AIX only

  • mountgroup

    Mount group for the filesystem, AIX only

  • mountguard

    Enable the mountguard. AIX only

    Supported values:
    • true
    • false
  • name (namevar)
  • nbpi

    Bytes per inode. AIX only

    Supported values:
    • /\d+/
  • nodename

    Specify the remote host where the filesystem resides. AIX only

  • options

    Params for the mkfs command. eg. -l internal,agcount=x

  • perms

    Permissions for the filesystem, AIX only

    Supported values:
    • ro
    • rw
  • vix

    Specify that the file system can allocate inode extents smaller than the default, AIX only

    Supported values:
    • true
    • false
  • volume_group

    Volume group that the file system should be greated on. AIX only.