Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

46 bytes removed, 09:38, 24 June 2015
no edit summary
# View and record the fields for the '''/archive''' mount in your lab logbook, and then issue the following command to reconnect or mount '''/archive''':<br><b><code><span style="color:#3366CC;font-size:1.2em;">mount &nbsp; -t ext4 &nbsp; /dev/centos/archive &nbsp; /archive</span></code></b><br><br>'''NOTE:''' If you are having problem mounting, use the /dev pathname listing in your /etc/fstab file.<br><br>
# Confirm that this file-system has been properly mounted. Note: You could have also issued the command: '''mount -a''' to <u>automatically</u> mount the file-systems contained in the '''/etc/fstab''' file.<br><br>Tip: If you had to do manually configure /etc/fstab (eg. only in text-based mode - centos3), you could have issued the command (as root):<br> <b><code><span style="color:#3366CC;font-size:1.2em;">echo "/dev/centos/archive /archive ext4 defaults 1 2" >> /etc/fstab</span></code></b> (although we don't need to do this, since it was already done).<br><br>
# '''A curious question''': If root needs to unmount the '''/home''' directory for maintenance (i.e. prevent regular users from logging in), but were forced we had to first login in graphically as a regular user, then open a terminal and su into '''to "root", isn''', then t our regular user still logged in so we wouldncan't be able to unmount un-mount the /home, since we are still logged indirectory?! ? How can we as a Linux System Administrator get around the problem (hint: you already learned it somewhere in lab3!!! Wow, using what we already taught can pay-off in the future ... lol!).
13,420
edits

Navigation menu