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.
Challenge: Swap space, rsync, and RAID - Linux Tutorial
From the course: Linux: Storage Systems
Challenge: Swap space, rsync, and RAID
- [Instructor] Oh, now let's take some challenges. How about you add a swap file to your system? You got to make a file, got to make it a swap file. You got to swap it on. Then try rsync. Can you make a backup of the /etc directory to some other directory? And then change etc/hosts, like just add a comment, a comment line? Starts with a hash sign. Just something so you can see that you get the old one back. So you change the file in /etc, and then use rsync to copy the old one back so you have a way of if you mess up the file, you can get back the old version. And then finally, with mdadm, set up two partitions with mirroring. So you're setting up a RAID for that, and format it with ext4 and mount it just to make sure that everything works. Alright, good luck.
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)
-
-