LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo pacman -S dmraid
copy
sudo apk add dmraid
copy
sudo zypper install dmraid
copy
nix profile install nixpkgs#dmraid
copy

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 by Heinz Mauelshagen at Red Hat to support hardware RAID metadata formats in Linux, addressing the need for compatibility with consumer motherboard RAID implementations that use software RAID with proprietary metadata formats. It is now largely unmaintained; most distributions have moved Intel IMSM and DDF "fake RAID" support to mdadm, which reads the same metadata and is the recommended tool for new setups.

SEE ALSO

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid