Changes

From Amahi Wiki
Jump to: navigation, search
125 bytes removed ,  03:17, 23 June 2020
* Navigate to the "etc" directory with the "cd" command and make a backup of the current fstab file.
<blockquote> cd /etc
cp /fstab /fstab_bak
</blockquote>
* Using a preferred file editor (i.e. vi, nano), open the fstab file.
<blockquote> nano fstab</blockquote>
* Near the bottom of the and after the other fstab entries, add the following:
<blockquote> LABEL=usbdisk /media/usbdrive ext3 rw,noauto,users,exec,noatime 0 0</blockquote>
* Now save the fstab file and exit the editor.
* Navigate to the /media directory and create a "usbdisk" directory. This is where the external drive will be mounted, this is called a "mount point".
<blockquote> cd /media mkdir usbdrive</blockquote>
* Make sure the external drive USB cable is connected to the server and is powered up.
* Reboot the server.
* Start a "terminal" session login as the "root" user ID.
* To manually mount the external drive issue the following command:
<blockquote> mount -L usbdisk</blockquote>
* The system reads the fstab, when it finds a line entry with the label "usbdrive", it mounts the drive the mount point, "/media/usbdisk".
12,424

edits