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.
Solution: Swap space, rsync, and RAID - Linux Tutorial
From the course: Linux: Storage Systems
Solution: Swap space, rsync, and RAID
- [Instructor] Alright so let's try out swap and rsync and mirroring, you're supposed to make a swap file. Well you need a file and you need to make it swapish, so let's make a file. Just a 500 mg file, just for something, and then we make swap on it, there we go. And we need to make sure that permission modes are safe on that guy. And I'm root, so root owns it already so that's okay and then we can do our swapon, great. And we can check status, and sure enough there it is. There we go so that was making a swap file. Now we're supposed to backup etc, change the host file, and then restore. So let's make a directory we can use for backing up etc. And then let's see how long it takes, we're not going to do it for both, we'll just do our cat mode. That was really fast, what do we got in tmp/eb? We've got everything, okay. So let's edit etc/host, let's add a line. Comment, comment there. Alright so that's the new thing, oh we don't want that, we want to get back the old one would be 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)
-
-