User Tools

Site Tools


fstab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fstab [2020/10/22 21:46] gwsadminfstab [2023/05/17 22:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Add another disk to the server ====== ====== Add another disk to the server ======
  
-Firstly check the UUID of the disk you want to ad by using this command+  * Firstly check the UUID of the disk you want to ad by using this command
  
 <code bash> <code bash>
 sudo blkid sudo blkid
  
-</code> 
  
-Copy the UUID +</code> 
- +  * Copy the UUID 
-Then make a directory within the /media directroy e.g.+  Then make a directory within the /media directroy e.g.
  
 <code bash> <code bash>
 sudo mkdir /media/disk1 sudo mkdir /media/disk1
 +
  
 </code> </code>
- +  * open up fstab
-open up fstab+
  
 <code bash> <code bash>
 sudo nano e/tc/fstab sudo nano e/tc/fstab
 +
  
 </code> </code>
- +  * On the last line enter this
-On the last line enter this+
  
 <code bash> <code bash>
 UUID=[insert ID] /media/library ext4 defaults 0 2 UUID=[insert ID] /media/library ext4 defaults 0 2
 +
  
 </code> </code>
- +  * Save the file, and then mount the disk using this command
-Save the file, and then mount the disk using this command+
  
 <code bash> <code bash>
 sudo mount -a sudo mount -a
 +
  
 </code> </code>
  
  
fstab.1603403191.txt.gz · Last modified: 2023/05/17 22:52 (external edit)