Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So, let's connect to our instance and check that the disk has been added. Once the name of the volume has been obtainedTo find your disk, let's use the command

Code Block
languagebash
titleCheck disk existence
grep$ <volume>cat /proc/partitions

If needed, create a file system on it (this will scratch the disk!)

Code Block
languagebash
titleCreate FS
$ sudo mkfs -t ext4 /dev/<volume>

...

Code Block
languagebash
titleMount Disk
$ sudo mount /dev/<volume> /mnt

Detach a volume from an istance

...

Code Block
languagebash
titleUnmount Disk
$ sudo umount /mnt

So, follow the steps:

...