Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7

2 bytes added, 09:56, 18 June 2015
no edit summary
# Confirm that this file-system has been properly mounted. Note: You could have also issue 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:<br> <b><code><span style="color:#3366CC;font-size:1.2em;">echo "/archive ext4 defaults 1 1" >> /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 to login as a regular user, then open a terminal and su into '''root''', then we wouldn't be able to unmount /home, since we are still logged in! 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!).
 
 
'''Answer the Part 1 observations / questions in your lab log book.'''
13,420
edits