Question
How to know if it is safe to remove block storage
I have a block storage volume-nyc1-01 of 1TB attached to the droplet and we would like to remove it.
The volume has not been mounted yet (no entry in fstab
or mtab
) so I guess I can simply delete it from dashboard.
But df -h
shows that size of docker volumes are more than 60GB (which is systems SSD).
root@ubuntu-4gb-nyc1-01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 396M 41M 355M 11% /run
/dev/vda1 59G 12G 47G 21% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/dm-1 100G 617M 100G 1% /var/lib/docker/devicemapper/mnt/37bcacd5592623173bb4887cfc87c74d57efab37acaa25506f18a6083c742c10
shm 64M 0 64M 0% /var/lib/docker/containers/37bcacd5592623173bb4887cfc87c74d57efab37acaa25506f18a6083c742c10/shm
--- truncated --
tmpfs 396M 0 396M 0% /run/user/0
I would like to know from where these space come from and if its safe to remove the block storage ?
Any help is appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
@syedhabeeb
Check the output of
mount
if it is not mounted then you can safely remove it, but I have no idea about the disk space used by docker.@Mohsen47 thanks, volume is not in
mount -l
too,disk space used by docker is what pulls me back from removing it.
lsblk
says this, if it helps