I've deleted images but the storage node space remains the same?
-
Hello. I have deleted old images in my images folder. However, the available storage space node never changes. How can I update this to show actual drive space available for images?
-
Just a few questions:
- How did you delete your images?
- Did you go into the image definition and pick delete, or did you delete the images from the image list?
If you deleted them from the image list then the files still persist on the fog server this is by design. If you went into the image definition then picked delete, it gives you the option to purge the files from the disk.
If you have deleted the image definitions already, you can manually go into the fog server console and purge the files. You will need to sudo to root then navigate to /images directory on the fog server. Your images will be under that directory. You can use the command
rm -rf <image_directory_name>
and it will purge what ever directory you give it. Be mindful with that command because if you remove a directory this way its gone. The -rf flag is recursively delete the files and force the delete. With great power comes great responsibility. -
Oops!
I deleted from CLI. But I just did that again and the image did not appear in the list and the storage number increased accordingly.-Jim