22.27.10. salt.states.blockdev

22.27.10.1. Management of Block Devices

A state module to manage blockdevices

/dev/sda:
  blockdev.tuned:
    - read-only: True

master-data:
  blockdev.tuned::
    - name : /dev/vg/master-data
    - read-only: True
    - read-ahead: 1024
salt.states.blockdev.formatted(name, fs_type='ext4', **kwargs)

Manage filesystems of partitions.

name
The name of the block device
fs_type
The filesystem it should be formatted as
salt.states.blockdev.tuned(name, **kwargs)

Manage options of block device

name
The name of the block device
opts:
  • read-ahead

    Read-ahead buffer size

  • filesystem-read-ahead

    Filesystem Read-ahead buffer size

  • read-only

    Set Read-Only

  • read-write

    Set Read-Write

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.1

Table Of Contents

Previous topic

22.27.9. salt.states.aws_sqs

Next topic

22.27.11. salt.states.boto_asg

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.