mdadm
A state module for creating or destroying software RAID devices.
/dev/md0:
raid.present:
- level: 5
- devices:
- /dev/xvdd
- /dev/xvde
- /dev/xvdf
- chunk: 256
- run: True
salt.states.mdadm_raid.
absent
(name)¶Verify that the raid is absent
The name of raid device to be destroyed
/dev/md0:
raid:
- absent
salt.states.mdadm_raid.
present
(name, level, devices, **kwargs)¶Verify that the raid is present
Changed in version 2014.7.0.
The name of raid device to be created
The RAID level to use when creating the raid.
A list of devices used to build the array.
Optional arguments to be passed to mdadm.
Example:
/dev/md0:
raid.present:
- level: 5
- devices:
- /dev/xvdd
- /dev/xvde
- /dev/xvdf
- chunk: 256
- run: True
Generated on September 29, 2023 at 04:02:55 UTC.
You are viewing docs for the latest stable release, 3006.3. Switch to docs for the previous stable release, 3005.3, or to a recent doc build from the master branch.
© 2023 VMware, Inc. | Privacy Policy