• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I've deleted images but the storage node space remains the same?

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    3
    322
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jim Holcomb
      last edited by

      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?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Jim Holcomb
        last edited by

        @Jim-Holcomb

        Just a few questions:

        1. How did you delete your images?
        2. 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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • J
          Jim Holcomb
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          325

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project