From the course: Linux: Storage Systems

Unlock the full course today

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

Assemble partitions as RAID devices

Assemble partitions as RAID devices - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

Assemble partitions as RAID devices

- [Instructor] Let's set up RAID partitioning. That is we can add multiple disks or partitions RAIDed together. This a little bit different than LVM. With RAID we can do striping. We can have redundancy so that if something fails, the disk fails, we don't lose any data and we're going to do it with regular disk partitions and format that with a file system independently, but I do want to note that Btrfs supports RAID itself and when you do the fs with Btrfs you can specify how to RAID together pieces. So, the key command for setting up a RAID on Linux is the md admin command. So, it's going to be the multi-disk RAID stuff. You can RAID your rootfs or you can do other file systems if you want. So, md admin is the key here. In the example, we're going to create a device file My RAID, and it's going to involve two disk partitions. Sdb1 and sdc1. It's going to be a level one RAID. That means mirroring when we tell it that you know there's two devices. So, after we do that then we have the…

Contents