Important
Make sure you edit the /etc/fstab
file and delete the line corresponding to your volume.
It is important to unmount (detach) a device from the operating system using the umount
command to avoid data loss before removing the Block Storage volume from your machine.
To complete the actions presented below, you must have:
ssh
. Make sure you replace <your_instance_ip>
with your Instance’s public IP.
ssh root@<your_instance_ip>
umount /mnt/block-volume
lsblk
. An output similar to the following should display.
root@scw-festive-agnesi:~# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 23.3G 0 diskvda 252:0 0 18.6G 0 disk├─vda1 252:1 0 18.5G 0 part /└─vda15 252:15 0 100M 0 part /boot/efi
Make sure you edit the /etc/fstab
file and delete the line corresponding to your volume.
You can mount the same volume again at any time. Refer to the dedicated documentation to mount and use a block volume for more information.