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

    Could not mount images folder after deleting images

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    1.4k
    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.
    • T
      TomBagley
      last edited by TomBagley

      Hi,
      I hope you can help me.

      I am running Fog 7492 on CentOS and absolutely love it.

      I recently noticed that after deleting images from the Web UI the storage was not increasing. I had not been going into the image and ticking the ‘delete files’ option - my mistake.

      In an attempt to clear up after myself I went into the /images directory, into the folders that have the images’ name and rm’ed the contents of the folders of the images I no longer required.

      On attempting to image a machine I now get 'An error has been detected, could not mount images folder (/bin/fog.upload).

      I have created a fresh image and tried to associate the same host with it, with the same results.

      Are there any suggestions you may have as to what I have done to upset Foggy?

      Let me know if you need any more information.

      Your help as always is much appreciated,
      Thanks,
      Tom

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        You probably deleted the /images/dev directory, and the .mntcheck files.

        Here are some commands to fix all that:

        mkdir /images/dev
        touch /images/.mntcheck
        touch /images/dev/.mntcheck
        chown -R fog:root /images
        chmod -R 777 /images

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          TomBagley
          last edited by

          Hi Wayne,

          Thanks for the suggestion. The dev directory is still there. I think I may be looking at rebuilding the Fog Server to remedy this one.

          Regards,
          Tom

          1 Reply Last reply Reply Quote 0
          • T
            TomBagley
            last edited by

            Hi Wayne,

            The NFS Server Service was stopped for whatever reason.

            Just in case anyone stumbles across this.

            I checked it with: systemctl status nfs-server
            Started it with: systemctl start nfs-server
            Then set it to always auto-start after boot with: systemctl enable nfs-server

            Picked up off another thread which I should have read first!

            Thanks for your help much appreciated.

            Regards,
            Tom

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @TomBagley
              last edited by

              @TomBagley Glad you figured it out. With what you described, I would not have guessed this.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

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

              238

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project