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

FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS

Scheduled Pinned Locked Moved
General
5
59
22.9k
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.
  • S
    Slowave
    last edited by Apr 17, 2015, 2:10 PM

    I have edit “/etc/exports”:

    [QUOTE]
    /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
    /data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
    /Volume1/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /Volume1/data/images/dev (rw,sync,no_wdelay,no_root_squash,insecure)
    /mnt/Volume1/data/images
    (ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
    /mnt/Volume1/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)[/QUOTE]

    Change the permission for this file “Cyril1” 777 to.
    Same result…
    After, i have restart my FreeNAS, and surprise, my file is empty again ! :@

    1 Reply Last reply Reply Quote 0
    • C
      ch3i Moderator
      last edited by Apr 17, 2015, 2:21 PM

      Try to reload your exportfs instead reboot your NAS (to determine if it’s a bug on your FreeNas install), I think the command is :
      [CODE]exportfs -r[/CODE]

      Regards,
      Ch3i

      1 Reply Last reply Reply Quote 0
      • S
        Slowave
        last edited by Apr 17, 2015, 2:36 PM

        exportfs: Command not found…

        FOG STORAGE > poop > Justin Bieber> FreeNAS.

        1 Reply Last reply Reply Quote 0
        • C
          ch3i Moderator
          last edited by Apr 17, 2015, 2:54 PM

          [quote=“Slowave, post: 45705, member: 29028”]exportfs: Command not found…

          FOG STORAGE > poop > Justin Bieber> FreeNAS.[/quote]

          Ooops it’s freebsd based… try :

          [CODE]service mountd reload[/CODE]

          Regards,
          Ch3i.

          1 Reply Last reply Reply Quote 0
          • S
            Slowave
            last edited by Apr 17, 2015, 2:57 PM

            This cmd works 🙂

            I have to leave my office so i will test with the good file “exports” monday.

            See you later and thank you for your help ! 🙂

            1 Reply Last reply Reply Quote 0
            • C
              ch3i Moderator
              last edited by Apr 17, 2015, 3:00 PM

              [quote=“Slowave, post: 45711, member: 29028”]This cmd works 🙂

              I have to leave my office so i will test with the good file “exports” monday.

              See you later and thank you for your help ! :)[/quote]

              Have a good Week-end 😛

              Regards,
              Ch3i

              1 Reply Last reply Reply Quote 0
              • S
                Slowave
                last edited by Apr 20, 2015, 9:53 AM

                Hi,

                After “service mountd reload”, i have:

                “Bad exports list line”

                [QUOTE]Bad exports list line /images
                Bad exports list line /images/dev
                Bad exports list line /data/images
                Bad exports list line /data/images/dev
                Bad exports list line /Volume1/data/images
                Bad exports list line /Volume1/data/images/dev
                Bad exports list line /mnt/Volume1/data/images
                Bad exports list line /mnt/Volume1/data/images/dev [/QUOTE]

                [IMG]http://image.noelshack.com/fichiers/2015/17/1429537843-freenas14.png[/IMG]

                When i restart the “NFS service” FreeNAS, The file is deleted.

                1 Reply Last reply Reply Quote 0
                • S
                  Slowave
                  last edited by Apr 21, 2015, 7:39 AM

                  New.
                  I have not the error when i replace “" by "192.168.56.”.
                  Service mountd restart
                  ->Stopping mountd
                  ->Starting mountd

                  [IMG]http://image.noelshack.com/fichiers/2015/17/1429601741-freenas15.png[/IMG]

                  But when i upload i always the same error: permission denied.
                  I change the id and password for the storage management by root/admin. The permission also in my Freenas for /mnt/Vol… (root 777). Same error.

                  I put exactly the same permission on my storage node FOG and my Freenas on the folder/file.
                  Storage node up client -> ok.
                  Freenas up client -> Permission denied.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Apr 21, 2015, 8:22 AM

                    So your images volume has the .mntcheck and dev/.mntcheck files?

                    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
                    • S
                      Slowave
                      last edited by Apr 21, 2015, 2:52 PM

                      Yes i have.
                      [IMG]http://image.noelshack.com/fichiers/2015/17/1429627840-freenas16.png[/IMG]

                      I have never create the file “.mnt”. I don’t know if i can delete it.
                      [IMG]http://image.noelshack.com/fichiers/2015/17/1429628003-freenas17.png[/IMG]

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Apr 21, 2015, 3:03 PM

                        So what is in your exports file? Normally this is located in /etc/exports

                        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
                        • S
                          Slowave
                          last edited by Apr 21, 2015, 3:08 PM

                          [IMG]http://image.noelshack.com/fichiers/2015/17/1429628788-freenas18.png[/IMG]

                          Fog server, freeNAS and client are in the network 192.168.56.0/24

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Apr 21, 2015, 3:10 PM

                            Does your freenas have /images /data/images /Volume1/data/images AND /mnt/Volume1/data/images?

                            You can only share one mount point at a time. If they all reference the same point, they will not work.

                            I’d recommend commenting or removing the

                            /images
                            /images/dev
                            /data/images
                            /data/images/dev
                            /Volume1/data/images
                            /Volume1/data/images/dev

                            Set up the FOG GUI to look at /mnt/Volume1/data/images and all shoudl start working.

                            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
                            • S
                              Slowave
                              last edited by Apr 21, 2015, 3:28 PM

                              You’re right. I have follow this tuto: [url]http://fogproject.org/wiki/index.php?title=Image_Upload:_Error_Checking_Mount[/url] and i have thought in my case, I should add all paths.
                              I delete it.

                              [B][U]TEST[/U]:[/B]
                              [U]/etc/exports -> OK[/U]
                              [IMG]http://image.noelshack.com/fichiers/2015/17/1429629845-freenas19.png[/IMG]

                              [U]Path -> OK[/U]
                              [IMG]http://image.noelshack.com/fichiers/2015/17/1429629907-freenas20.png[/IMG]
                              [IMG]http://image.noelshack.com/fichiers/2015/17/1429629968-freenas21.png[/IMG]

                              [U]Upload client -> Not[/U]

                              [IMG]http://image.noelshack.com/fichiers/2015/17/1429630035-freenas22.png[/IMG]

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Apr 21, 2015, 3:35 PM

                                Did you restart the nfs server so it reloads the exports?

                                Normally this can be done with [code]exportfs -a[/code]

                                However if this isn’t available to you, it may be needed of something like:
                                [code]service nfs restart[/code]

                                Or [code]service mountd restart[/code]

                                Does it still give you the bad exports list statement?

                                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
                                • S
                                  Slowave
                                  last edited by Apr 22, 2015, 6:58 AM

                                  [IMG]http://image.noelshack.com/fichiers/2015/17/1429685896-freenas23.png[/IMG]
                                  All it’s ok after restart

                                  When i look the log of my FreeNAS:

                                  [IMG]http://image.noelshack.com/fichiers/2015/17/1429689682-freenas24.png[/IMG]

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by Apr 22, 2015, 8:22 AM

                                    Do me a favor and for now remove the ip from the exports lines and restart mounts. Does it work then?

                                    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
                                    • S
                                      Slowave
                                      last edited by Apr 22, 2015, 8:51 AM

                                      Doesn’t work. I have the same error.
                                      [IMG]http://image.noelshack.com/fichiers/2015/17/1429692530-freenas25.png[/IMG]

                                      Last line. 192.168.56.4 is my client how i want upload.

                                      Maybe my mistake did not come from my FreeNAS…Everything looks ok for the configuration.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by Apr 22, 2015, 11:05 AM

                                        When you access the system via a mount point or anything does it auto specify as /Volume1/data/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
                                        • S
                                          Slowave
                                          last edited by Apr 22, 2015, 12:24 PM

                                          FTP with root, i am directly “/”. In anonymous: “/mnt/Volume1/data/images”
                                          SSH with root, “/root”

                                          If i add NFS share, i can put the path “/mnt/Volume1/data/images” but the data in “/etc/exports” will be changed. So i desable it.

                                          If i add NFS share, look the “/etc/exports”
                                          [IMG]http://image.noelshack.com/fichiers/2015/17/1429705966-freenas26.png[/IMG]

                                          If i edit this file with the good config "*(ro, ,sync…), i have the same error.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            22/59
                                            Last post

                                          243

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project