User:Chris Tyler/OPS235 Practical 1 Practice

From CDOT Wiki
< User:Chris Tyler
Revision as of 21:51, 23 February 2011 by Chris Tyler (talk | contribs) (Created page with 'Here is a practice exercise for OPS235 practical test #1: # Create the file <code>partitions.txt</code> containing a list of all of your partitions, as displayed by the <code>fd…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here is a practice exercise for OPS235 practical test #1:

  1. Create the file partitions.txt containing a list of all of your partitions, as displayed by the fdisk command.
  2. Create the file lvm.txt containing a list of your physical volumes, volume groups, and logical volumes.
  3. Change the system configuration so that each newly-created user automatically has a file named "readme.txt" in their home directory containing a welcome message.
  4. Extend your root filesystem by 100M.
  5. Create the file resized-lvm.txt containing a list of your physical volumes, volume groups, and logical volumes after the completing the previous step.
  6. Create the file bash-files.txt containing a list of all of the files that were installed as part of the bash RPM package.
  7. Create a 2MB ext3 filesystem in an image file named practical-1-practice.img
  8. Place the three .txt files into the ext3 filesystem that you created. Ensure that root owns the file partitions.txt and that your regular user account owns the other two files.
  9. Ensure that the filesystem is closed properly (think about what this means!).
  10. Compress the filesystem image file.
  11. Exchange the filesystem image file with a colleague in your class for checking.