How to Mount a Disk (linux)
Posted by Will Kruss on 30 August 2022 11:44 AM
|
|
Find steps on How to mount a disk in Linux on VPSBlocks tutorial. An excellent tutorial guide for self learners. If you have added SATA space to your VPS, the new drive will not be mounted automatically. To add your new SATA hard disk login to SSH. Note for this example we are going to assume you are going to mount the drive at /backup
You've now created your partition and need to format the drive:
We now need to get the unique identifier for the new drive. Type: blkid Look for the identifier with the label "/backup" and copy the UUID number to your clipboard e.g. 99e236dc-ca2c-4ee3-95cc-cf3e49e792cc Now you need to tell the operating system that the drive with that UUID should be mounted at boot to /backup. Type: Replace the line below with your UUID and then copy and paste it into the bottom of the file: To save press: Ctrl O | |
|