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

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

From the course: Linux: Storage Systems

Start my 1-month free trial

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…

Contents