...
You can view the status of a volume in the Volumes tab of the dashboard. The volume is either Available or In-Use. Now you can log in to the instance and mount, format, and use the disk. To find out which name has been assigned to our volume, go to the Volume tab (fig): in our case it is called vdb.
So, let's connect to our instance and check that the disk has been added. LetOnce the name of the volume has been obtained, let's use the command
Code Block | ||||
---|---|---|---|---|
| ||||
grep dvb<volume> /proc/partitions |
If needed, create a file system on it (this will scratch the disk!)
Code Block | ||||
---|---|---|---|---|
| ||||
mkfs -t ext4 /dev/dvb<volume> |
Finally, mount the disk with
Code Block | ||||
---|---|---|---|---|
| ||||
mount /dev/dvb<volume> /mnt |
Detach a volume from an istance
...