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

Challenge: Swap space, rsync, and RAID - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

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.

Contents