Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7

263 bytes added, 09:24, 24 June 2015
no edit summary
= INVESTIGATION 2: ADDITIONAL FILE-SYSTEM OPERATIONS =
We take for granted that a file-system must be mounted (for example the root partition) in order for a Linux system to be usable upon system start-up. This was create automatically for the '''/archive''' mount point automatically when we used the system-config-lvm utility in the previous investigation. We need to learn now to do this manually by editing or adding an entry in the ''/etc/fstab'' file. The '''/etc/fstab''' (file system table) contains entries to mount various file systems automatically upon start-up of the Linux system.
The Linux sys admin system administrator also has the ability to manually '''mount''' (connect) and '''un-mount''' (disconnect) partitions in order to perform maintenance on the file system (for example un-mounting the '''/home''' partition to install software and prevent users from logging in during that process).
== Part 1: Mounting and Un-mounting Partitions ==
[[Image:mount.png|thumb|700px|right|Using the '''mount''' command with no arguments displays file-systems that are already mounted. The Linux system administrator can use the '''mount''' and '''umount''' commands to connect and disconnect different partitions from the file-system to perform maintenance.]]
# Perform this Part part in your '''centos2''' VM.
# As you may recall in Part 1 of Investigation 1, we created another logical volume called lv_archive using the graphical application '''system-config-lvm'''. This logical volume should be mounted (connected) to our existing file-system (2GB).
# Issue the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">mount</span></code></b>
13,420
edits