From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

MDRAID or DMRAID?

MDRAID or DMRAID?

From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Start my 1-month free trial

MDRAID or DMRAID?

- [Instructor] Years ago we used a RAID tools package to maintain software RAIDS on Linux. RAID tools was replaced by mdadm which we've been using for the last 15 years or so. Mdadm is an administration tool for MDRAID. Software RAID works at a device level. To create a RAID we grab multiple devices such as /dev/sdb and /dev/sdc and combine them into a RAID. The Linux MD stack will then give us a new device name such as /dev/md0 which we'd format and mount. Any data written to this would be written according to the RAID level we chose. Mdadm supports RAID level zero, one, four, five, six and 10. It will also do linear volumes as well as multi-path. Mdadm is not the only way to create RAIDs in Linux. LVM which we've talked about previously in this course has been slowly adding RAID capabilities to a stack. This is referred to as DMRAID or device mapper RAID. DMRAID devices have all the flexibility of standard LVM volumes including snapshots and use all space flexibility. DMRAID devices…

Contents