This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fstab [2020/10/22 21:46] – gwsadmin | fstab [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 | ||
| - | </ | ||
| - | Copy the UUID | + | </ |
| - | + | * Copy the UUID | |
| - | Then make a directory within the /media directroy e.g. | + | |
| <code bash> | <code bash> | ||
| sudo mkdir / | sudo mkdir / | ||
| + | |||
| </ | </ | ||
| - | + | * open up fstab | |
| - | open up fstab | + | |
| <code bash> | <code bash> | ||
| sudo nano e/tc/fstab | sudo nano e/tc/fstab | ||
| + | |||
| </ | </ | ||
| - | + | * On the last line enter this | |
| - | On the last line enter this | + | |
| <code bash> | <code bash> | ||
| UUID=[insert ID] / | UUID=[insert ID] / | ||
| + | |||
| </ | </ | ||
| - | + | * 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 | ||
| + | |||
| </ | </ | ||