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
New in version 2014.7.0.
salt.states.blockdev.
formatted
(name, fs_type='ext4', force=False, **kwargs)¶Manage filesystems of partitions.
The name of the block device
The filesystem it should be formatted as
Force mke2fs to create a filesystem, even if the specified device is not a partition on a block special device. This option is only enabled for ext and xfs filesystems
This option is dangerous, use it with caution.
New in version 2016.11.0.
salt.states.blockdev.
tuned
(name, **kwargs)¶Manage options of block device
The name of the block device
Read-ahead buffer size
Filesystem Read-ahead buffer size
Set Read-Only
Set Read-Write
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy