• 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
    23.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.
    • SlowaveS
      Slowave
      last edited by

      Yes i have
      [IMG]http://image.noelshack.com/fichiers/2015/16/1429196661-freenas9.png[/IMG]

      And FTP, it’s enable.
      I try to connect FTP from my fog server :
      [IMG]http://image.noelshack.com/fichiers/2015/16/1429197162-freenas10.png[/IMG]

      After login, i’m in my folder “/data” and i can go on “/images” and “/dev” if i want.

      1 Reply Last reply Reply Quote 0
      • SlowaveS
        Slowave
        last edited by

        [IMG]http://image.noelshack.com/fichiers/2015/16/1429197694-freenas11.png[/IMG]

        1 Reply Last reply Reply Quote 0
        • SlowaveS
          Slowave
          last edited by

          In my fog server database, for “user”, should I add my user “Cyril1” or not ?

          1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator
            last edited by

            [quote=“Slowave, post: 45664, member: 29028”]In my fog server database, for “user”, should I add my user “Cyril1” or not ?[/quote]

            Hi,

            In my case I’ve created a fog user in my Readynas with the same login “fog”, password and uid (UID isn’t important).

            Regards,
            Ch3i.

            1 Reply Last reply Reply Quote 0
            • SlowaveS
              Slowave
              last edited by

              Select host, user, password FROM user;

              [IMG]http://image.noelshack.com/fichiers/2015/16/1429255602-freenas12.png[/IMG]

              I have not a user “fog” so i use fogstorage. (I 'don’t know how is the user “nas” i have never create this, but this IP (192.168.56.103) is my NAS FOG, and the upload client is OK…And the name of my FOG NAS is not “nas” but “NAS”)

              So, i use fogstorage
              [IMG]http://image.noelshack.com/fichiers/2015/16/1429255893-freenas13.png[/IMG]

              I create the same user on my FreeNAS, with the same password. I change the permission for /mnt/Volume1, etc.

              Same result:“Permission denied”

              1 Reply Last reply Reply Quote 0
              • SlowaveS
                Slowave
                last edited by

                I just tried with use “fog” and password “password”, same result.

                But already, I have a first problem. On my Dashborad", “Disk Information”, i can’t see the storage space of my FreeNAS. It’s not good i think.

                [U]If we can make it work, i think i will make a tutorial video for the FreeNAS for the [/U][U]community, because i see on this forum, we have some problems with this[/U].

                1 Reply Last reply Reply Quote 0
                • ch3iC
                  ch3i Moderator
                  last edited by

                  [quote=“Slowave, post: 45669, member: 29028”]
                  But already, I have a first problem. On my Dashborad", “Disk Information”, i can’t see the storage space of my FreeNAS. It’s not good i think.
                  [/quote]

                  To have information of other storages in the main page, I think it’s functionnal only if you use a FOG Storage Node (like install a FOG storage node on another server)

                  Regards,
                  Ch3i.

                  1 Reply Last reply Reply Quote 0
                  • SlowaveS
                    Slowave
                    last edited by

                    Ok ok, this is a false problem.

                    It remains only one problem. 🙂

                    1 Reply Last reply Reply Quote 0
                    • ch3iC
                      ch3i Moderator
                      last edited by

                      My configuration summary when I used my Readynas :

                      • Server FOG :

                      Login : fog
                      Password : 12345678 (example :p)

                      • Readynas :

                      Login : fog
                      Password : 12345678
                      UID : same as the fog user in my Debian server where installed FOG
                      FTP and NFS (R/W) for the user FOG

                      Regards,
                      Ch3i.

                      1 Reply Last reply Reply Quote 0
                      • SlowaveS
                        Slowave
                        last edited by

                        Huuuuuum, in my FreeNAS, “/etc/export” is empty. A try to use this example: [url]http://fogproject.org/wiki/index.php?title=Image_Upload:_Error_Checking_Mount[/url]

                        EDIT: I look your configuration 🙂

                        1 Reply Last reply Reply Quote 0
                        • ch3iC
                          ch3i Moderator
                          last edited by

                          [quote=“Slowave, post: 45696, member: 29028”]Huuuuuum, in my FreeNAS, “/etc/export” is empty.[/quote]

                          It’s a problem :rolleyes:

                          [IMG]http://image.noelshack.com/fichiers/2015/16/1429187237-freenas2.png[/IMG]

                          Try “Change” instead “Cancel” lol

                          Regards,
                          Ch3i.

                          1 Reply Last reply Reply Quote 0
                          • SlowaveS
                            Slowave
                            last edited by

                            Ahahah, i have really clic on “Change” ! 😄
                            I will edit “export” as the wiki.

                            1 Reply Last reply Reply Quote 0
                            • ch3iC
                              ch3i Moderator
                              last edited by

                              [quote=“Slowave, post: 45698, member: 29028”]Ahahah, i have really clic on “Change” ! 😄
                              I will edit “export” as the wiki.[/quote]

                              lol

                              1 Reply Last reply Reply Quote 0
                              • SlowaveS
                                Slowave
                                last edited by

                                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
                                • ch3iC
                                  ch3i Moderator
                                  last edited by

                                  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
                                  • SlowaveS
                                    Slowave
                                    last edited by

                                    exportfs: Command not found…

                                    FOG STORAGE > poop > Justin Bieber> FreeNAS.

                                    1 Reply Last reply Reply Quote 0
                                    • ch3iC
                                      ch3i Moderator
                                      last edited by

                                      [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
                                      • SlowaveS
                                        Slowave
                                        last edited by

                                        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
                                        • ch3iC
                                          ch3i Moderator
                                          last edited by

                                          [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
                                          • SlowaveS
                                            Slowave
                                            last edited by

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            197

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project