CT320

CT320: Network and System Administration                

Fall 2017                

Storage Backup                

CT320 Storage & Backup Lab                

Storage and Backup Lab                

The purpose of this assignment is to familiarize you with some of the disk and storage commands, and to teach you how to do backups using the dump and restore commands.                 

Part 1 — Storage Lab                

For each item, copy the successful execution of the command and its output to the R4.log file, which you will show to receive credit for this lab. Add answers to questions or comments as requested in a short paragraph.                 

  1. Use sudo -s to become super user.
  2. Use df -h to list the mounted drives on the system.
  3. Display the /etc/fstab configuration file.
  4. Describe the file systems that are mounted.
  5. Look at the /proc/partitions file to see the disk partitions.
  6. What units are those blocks? Use man proc to find out.
  7. What is the device file and capacity for the hard disk drive?
  8. Put a Xubuntu install DVD into the optical drive.
  9. Xubuntu should automount the DVD, where is the mount point?
  10. What is the device file for the DVD drive?
  11. Browse the DVD using a file manager.
  12. Browse the DVD using a terminal.
  13. Unmount the DVD using umount device.
  14. What does the listing of the mount point look like now?
  15. Make a directory called /dvd to mount the DVD.
  16. Remount the DVD using mount -t iso9660 /dev/sr0 /dvd
  17. Explain the options from the previous item.
  18. Browse the DVD on the new mount point.
  19. How many lines are in /dvd/md5sum.txt?
  20. Use the md5sum command to verify the DVD data integrity.
  21. Unmount the DVD.

Part 2 — Backup Lab                

Use the dump and restore commands to backup the entire set of home directories on your system, as follows:                 

  1. Run the dump command with no arguments, to verify that it’s installed. If the command isn’t installed, then install it.
  2. Add a new user called kennedy, and create several files and directories in the associated home directory.
  3. Do a full backup of all home directories into /tmp/complete using the command dump -0uf /tmp/complete /home, and list the size of the resulting backup.
  4. Add a new file to the home directory of kennedy, then do an incremental backup of /home into /tmp/incremental, and list the size of the resulting backup.
  5. What options were different between the complete and incremental backups?
  6. Delete the entire contents of /home/kennedy and restore it using the command restore -rf /tmp/complete from the complete backup.
  7. Put the commands from above into R4.log.

Part 3 — Credit                

Show R4.log to the TA.                 

Modified: 2015-10-08T22:22                 

User: Guest                 

Check: HTML CSS
Edit History Source
Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2015 Colorado State University
CS Building