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

    FOG /image storage

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    1.7k
    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.
    • A
      alansopro
      last edited by

      I’m now having issues with the /image storage.

      I put an additional 500GB drive into the system and mounted the drive under /images/EXT

      When changing the default storage node path it seems permissions need to be updated to allow FOG to use the new drive. I keep getting permissions errors. When looking at what the /images/ folder is its set to user #777 which doesn’t seem to exist. Do you guys have a way of doing this? I’m sure it’s pretty easy and I’m just missing something.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        sudo chmod -R 777 /images
        sudo chown -R fog:root /images
        sudo mkdir /images/dev
        sudo touch /images/.mntcheck
        sudo touch /images/dev/.mntcheck
        sudo 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by

          You also need to update /opt/fog/.fogsettings images path if I’m not mistaken. Assuming you want this to be your default image storage location and what not.

          1 Reply Last reply Reply Quote 0
          • A
            alansopro
            last edited by

            After running those commands I’m still getting Permission Denied.

            What I currently have is 2 Physical Drives. I have the /images under the main which only has 50GB of space and isn’t able to hold more than 1 image.

            The other drive I used

            mount --bind /media/EXT /images/EXT

            I updated the Storage node to reflect /images/EXT and doesn’t seem to be working. Although after running those commands it updated the /images folder to something else so I’m not sure if that folder works now either. The password in the storage node is correct.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Dude, I missed the EXT part.

              SO:

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

              Edit the /etc/exports file to change the path and restart the NFS Server once the file is saved.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              A 1 Reply Last reply Reply Quote 2
              • A
                alansopro @Tom Elliott
                last edited by

                @Tom-Elliott

                Okay. That fixed it. I had already modified what you told me to type. I just never did the /etc/exports. Once I did that it all worked. 🙂

                Thank you!

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

                162

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project