User Tools

Site Tools


fstab

Differences

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

Link to this comparison view

Next revision
Previous revision
fstab [2020/10/22 11:04] – created 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 ======
  
-COMING SOON+  * Firstly check the UUID of the disk you want to ad by using this command 
 + 
 +<code bash> 
 +sudo blkid 
 + 
 + 
 +</code> 
 +  * Copy the UUID 
 +  * Then make a directory within the /media directroy e.g. 
 + 
 +<code bash> 
 +sudo mkdir /media/disk1 
 + 
 + 
 +</code> 
 +  * open up fstab 
 + 
 +<code bash> 
 +sudo nano e/tc/fstab 
 + 
 + 
 +</code> 
 +  * On the last line enter this 
 + 
 +<code bash> 
 +UUID=[insert ID] /media/library ext4 defaults 0 2 
 + 
 + 
 +</code> 
 +  * Save the file, and then mount the disk using this command 
 + 
 +<code bash> 
 +sudo mount -a 
 + 
 + 
 +</code>
  
  
fstab.1603364695.txt.gz · Last modified: 2023/05/17 22:52 (external edit)