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 - Linux Tutorial
From the course: Linux: Storage Systems
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Configure and manage swap space5m 39s
-
(Locked)
Configure remote block-storage devices2m 47s
-
(Locked)
Use targetcli1m 37s
-
(Locked)
Backup and recovery strategies6m 14s
-
(Locked)
Use backup tools5m 8s
-
(Locked)
Assemble partitions as RAID devices4m 27s
-
(Locked)
Linux file system features and flags6m 38s
-
(Locked)
Configure file system features and flags4m 55s
-
(Locked)
Challenge: Swap space, rsync, and RAID1m 1s
-
(Locked)
Solution: Swap space, rsync, and RAID3m 44s
-
(Locked)
-
-