LinuxCommandLibrary

dmraid

firmware RAID metadata discovery and activation

TLDR

List all RAID sets

$ dmraid -s
copy
Activate all RAID sets
$ dmraid -ay
copy
Activate specific RAID set
$ dmraid -ay [raidset_name]
copy
Deactivate all RAID sets
$ dmraid -an
copy
Show detailed RAID information
$ dmraid -s -s
copy
List block devices
$ dmraid -b
copy
Remove inactive RAID metadata
$ dmraid -E [/dev/sda]
copy

SYNOPSIS

dmraid [options] [device...]

DESCRIPTION

dmraid discovers and activates software RAID sets using the Linux device-mapper. It supports various hardware RAID metadata formats including those from Intel, NVIDIA, VIA, and other motherboard RAID controllers.
The tool reads RAID metadata from drives and creates device-mapper mappings that present the RAID array as a single block device. This enables Linux to work with "fake RAID" or "firmware RAID" commonly found on consumer motherboards.
dmraid operates independently of the RAID controller's BIOS, allowing arrays to be used even without controller-specific drivers.

PARAMETERS

-s

Display RAID sets (double for details).
-ay
Activate RAID sets.
-an
Deactivate RAID sets.
-b
List block devices.
-r
List RAID devices.
-E DEVICE
Erase RAID metadata.
-n
Dry run (show but don't execute).
-v
Verbose output.

CAVEATS

Only supports specific metadata formats. Some RAID levels may have limited support. Activating degraded arrays may risk data. Does not replace hardware RAID controllers or mdadm software RAID.

HISTORY

dmraid was developed to support hardware RAID metadata formats in Linux. It emerged to address the need for Linux compatibility with consumer motherboard RAID implementations that use software RAID with proprietary metadata formats.

SEE ALSO

mdadm(8), dmsetup(8), lvm(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community