Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - Fedora17

278 bytes removed, 23:33, 25 September 2012
Investigation 4: How Partitions are Automatically Mounted Upon Boot-up
== Investigation 4: How Partitions are Automatically Mounted Upon Boot-up ==
'''Perform this investigation on the VM named ''<u>fedora2</u>''fedora1.'''
#Create a directory called '''/storage''' (i.e. ''storage'' is a subdirectory of the root directory)
#Check the man page for <code>/etc/fstab</code> by entering the command <code>man fstab</code>
#Edit your <code>/etc/fstab</code> file to mount the partition partitions <code>/dev/mappervdb1</code> and <code>/dev/vg_fedora2-lv_archivevdb2</code> to <code>'''/storagearchive'''</code> and <code>'''/archive2'''</code>
#Issue this command:
::<code>mount -a</code>
<ol>
<li value="5">What does that command do?</li>
<li>Confirm that the partition partitions mounted.</li> <li>Issue a command to list the contents of '''/storagearchive''' and '''/archive2'''. Are there any files? <li>Reboot the fedora2 VM, and verify that '''/storagearchive''' has now been automatically mounted.</li> <li>In the previous investigation, we mounted the directory as and '''/archivearchive2''', but in this investigation we have now been automatically mounted it as '''/storage'''. What purpose does could this server for a Linux system administrator?</li>
</ol>
'''Answer Make notes about the Investigation 4 observations / questions format of the lines in fstab in your lab log book.'''
= User/Group Management =