1,234
edits
Changes
→Investigation 3: Manually Mounting / Unmounting Filesystems
== Investigation 3: Manually Mounting / Unmounting Filesystems ==
'''Perform this investigation on the VM named ''<u>fedora2fedora1</u>''.'''
So far, we have simply assumed that when the Fedora OS boots-up, that its file-system is automatically available. In this investigation, you will learn how file-systems (or portions of file-systems) can be mounted or "connected" to existing file-systems. You will also learn how to unmount (or "disconnect") portions of file-systems from existing file-systems.
# Issue the command called '''mount''' . This command provides information relating to various partitions (logical volumes) and corresponding "mount points" (directories).
# Record the information from issuing the <code>mount</code> command for both '''lv_root''' and '''lv_home'''. What commands would issue Can you write the command that will quickly find just the line you're interested in from all the output of the mount command? You need to quickly obtain know this information?(from ULI101).# Create the directories /archive and /archive2# Issue the command commands '''umount mount /dev/vdb1 /archive''' and '''mount /dev/vdb2 /archive2'''. Did anything happen? Issue the '''mount''' command again. Is there any difference with the command output?# View Copy some files to /archive and /archive2, then unmount the two partitions. After the online man pages for unmount is successful - look at the [http://linuxmanpagestwo directories.comWhere did your files go?# Note that CD/man8/mountDVD disks also need to be mounted for you to access files on them.8.php mount] command. Issue Try mounting a DVD manually (without using the GUI) on our host - you'll need to use the <code>mount</code> command with arguments to "re-connect" , and know the device name of your drive (it'''s probably /dev/mapper/vg_fedora2-lv_archive''' to the '''/archive''' directory (refer to the section '''Linux Command Online Reference''' abovesr0).
== Investigation 4: How Partitions are Automatically Mounted Upon Boot-up ==