Mount a new drive
How to mount a new drive on a linux system over command line
First, list the physically installed disks
Next, Pick the disk you want to mount
Mount the drive
To auto mount it, edit fstab
Firstly, found out it's UUID
should look like the below, here we want /dev/xvdb
[stannardb@nextcloud]:~$ blkid
/dev/xvdb: UUID="02ed6055-ccea-40d7-a735-4045a36df5d7" TYPE="ext4"
/dev/xvda2: UUID="0fa95d3f-7231-4b98-94ca-3d407d88f600" TYPE="ext4" PARTUUID="8ecf3453-59dd-4535-94e6-656f66c289f7"
/dev/sr0: UUID="2019-07-16-08-51-27-00" LABEL="XCP-ng Tools" TYPE="iso9660"
This mounts the disk with the UUID of 02ed6055-ccea-40d7-a735-4045a36df5d7
to /nextcloud
as an ext4
drive
Old Method
Want to make this site better? Open a PR or help fund hosting costs