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

Problem with separate NFS Server

Scheduled Pinned Locked Moved
FOG Problems
2
9
2.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.
  • O
    Orkaya
    last edited by Jan 23, 2014, 5:41 PM

    Hi guys,

    I have a VM FOG serveur on Proxmox and a OpenMediaVault Server.
    FOG is on xxxx.xxxx.98.107 and OMV on xxxx.xxxx.98.195

    My VM have only 15GB free space so I need a mounting volume for my images.

    My fstab on FOG :

    [QUOTE]194.214.98.195:/export/images-fog /images nfs auto 0 0[/QUOTE]
    On FOG i have this permissions :
    [QUOTE]drwxrwsrwx+ 17 1002 root 4096 janv. 23 15:47 images[/QUOTE]
    On OMV :
    [QUOTE]drwxrwsrwx+ 17 fog root 4096 janv. 23 15:47 images-fog[/QUOTE]

    I follow all article in the wiki and read all thread who speak about “FOG NFS Serveur”

    But my problem is, when i try to deploy/uplad an images, i have this :

    [ATTACH=full]514[/ATTACH]

    I’M stuck here, i need help please 🙂
    Sorry for my bad english 😉

    [url=“/_imported_xf_attachments/0/514_20140123_154943.jpg?:”]20140123_154943.jpg[/url]

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 23, 2014, 5:44 PM

      No prob with the language, it’s fine. It says Permission denied.

      Make sure the storage nodes /images directory contains the .mntcheck file, and is recursively owned with 777 perms.

      [code]touch /images/.mntcheck; touch /images/dev/.mntcheck; chmod -R 777 /images[/code]

      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
      • O
        Orkaya
        last edited by Jan 24, 2014, 10:45 AM

        I need to do this on my NFS server (OpenMediaVault) or on my FOG server ? Because on my FOG I can’t, I don’t have the permissions.

        Fog 0.32 is compatible with Debian Wheezy 7.3?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jan 24, 2014, 12:17 PM

          When you say you don’t have permissions. Do you mean it gives you permission denied when you try to run the command, or you can’t login as root?

          If you mean you’re logged in as a regular user on the FOG Server, try:
          [code]sudo touch /images/.mntcheck; sudo touch /images/dev/.mntcheck; sudo chmod -R 777 /images[/code]

          If it asks for a password, use the user password (the same one you login to the system with.)

          To my knowledge, fog is compatible, though it’s only been tested for sure on Fedora/Centos/Ubuntu.

          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
          • O
            Orkaya
            last edited by Jan 24, 2014, 3:17 PM

            Im logged in root on FOG serveur but i can’t do this : chmod -R 777 /images

            [QUOTE]drwxrwsrwx 17 nobody nogroup 4096 janv. 24 11:26 images[/QUOTE]
            [QUOTE]chmod: modification des permissions de « /images »: Opération non permise[/QUOTE]

            “Operation not allowed” in english 🙂

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jan 24, 2014, 3:38 PM

              It has a sticky element on it for everyone.

              I don’t know what the umask is

              Can you perform:
              [code]chmod -R g-s /images[/code]

              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
              • O
                Orkaya
                last edited by Jan 27, 2014, 4:04 PM

                Doesn’t work, I think the problem is the exports of OMV ?:

                [QUOTE]# to NFS clients. See exports(5).
                /export/images-fog 194.214.98.107(rw,subtree_check,secure)

                NFSv4 - pseudo filesystem root

                /export 194.214.98.107(ro,fsid=0,root_squash,no_subtree_check,hide)
                [/QUOTE]

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jan 27, 2014, 4:22 PM

                  It looks like you only allow the ip listed there to access the NFS can you try changing the ip to a * and restart the Nfs service?

                  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
                  • O
                    Orkaya
                    last edited by Jan 28, 2014, 8:37 AM

                    If I summarizes, the NFS server export “/images” on FOG server and FOG Server export “/images” on Client, it’s correct?

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

                    257

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project