FOG Project

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

    Fog Storage Node on Seagate Central 4TB Drive

    FOG Problems
    4
    14
    4422
    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.
    • Z
      zalittle last edited by

      I have a Fog server setup on a virtual machine with enough disk space to run linux and fog only. The company I work for purchased an NAS without first asking what my specifications were. As such I am stuck with a Seagate Central 4TB Drive. I am unable to find away to appropriately give the Fog server access to store the images on this device. I have tried going through and mounting it to the linux system, and going through the Fog Web Console to give it the appropriate address & location for the image directory. Nothing I have tried is working. Can someone point me in the right direction to get this working? Or point me to a thread with the answer to this, I have not been able to locate the correct information.

      1 Reply Last reply Reply Quote 0
      • Z
        zalittle last edited by

        I just verified that the .mntcheck exists in both of those directories, and I changed the permission on the images folder on the NAS (labeled fimages) with the following command:
        [CODE]chmod -R 777 fimages[/CODE]
        Still receiving the same error.

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

          On the NAS, have you ensured the /images/dev folder exists as well as the /images/.mntcheck and /images/dev/.mntcheck AS well as ensure the /images folder (as a whole) has 777 permissions?

          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
          • Z
            zalittle last edited by

            I have previously read these two threads, and did not find anymore leads from them. The main page of FOG shows that my storage has 3.62Tib of storage (which is what the seagate has), I just can’t push images to it…I have attached a PDF file containing images of my storage setup, fstab file, and exports file.

            [url=“/_imported_xf_attachments/1/1156_setup.pdf?:”]setup.pdf[/url]

            1 Reply Last reply Reply Quote 0
            • x23piracy
              x23piracy last edited by

              Hi,

              maybe this gives you hints:
              [url]http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/[/url]
              [url]http://fogproject.org/forum/threads/no-disk-usage-free-space-information-for-another-storage-node-nfs.4276/[/url]

              Regards X23

              ║▌║█║▌│║▌║▌█

              1 Reply Last reply Reply Quote 0
              • Z
                zalittle last edited by

                Still not able to get this to work, any ideas anyone?

                1 Reply Last reply Reply Quote 0
                • Z
                  zalittle last edited by

                  I removed the following from etc/exports which didn’t help
                  [CODE]/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
                  /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
                  [/CODE]
                  I have the following under etc/fstab (This is how I mounted the NAS to Ubuntu)
                  [CODE]//172.20.0.29/kogokadmin/fimages /images cifs username=UserNameForStorage,password=PasswordForStorage,iocharset=utf8,sec=ntlm 0 0
                  [/CODE]

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

                    The Naz that you are running is it already mounted to your fog server? You can’t mount and NFS share if it’s already NFS shared

                    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
                    • Z
                      zalittle last edited by

                      Update
                      When i run “service nfs-kernel-server restart” i get the following messages on the images and images/dev directories
                      “does not support NFS export”, and I assume that this is because the NAS Drive I have does not support the NFS protocol?

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zalittle last edited by

                        Running into another issue regarding this. And again I apologize because my knowledge of Linux is limited, i found a similar thread but can’t seem to get it to work. [url]http://serverfault.com/questions/531624/fog-server-nfs-issue[/url]

                        When trying to take an image, i receive this
                        [CODE]Mounting File System…mount: mounting 172.20.0.95:/fogimages/dev/ on /images failed: permission denied

                        Fatal Error: failed to mount NFS volume[/CODE]

                        Please note, 172.20.0.95 is the ip for my fog server, and “fogimages” is the folder that is linked to my seagate nas.

                        I have followed the post located here: [url]http://fogproject.org/forum/threads/permission-denied-when-trying-to-image-after-update-to-1-1-1-1-1-2.10941/#post-31487[/url]
                        It did not resolve my problem.

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zalittle last edited by

                          That worked perfectly, thankyou!
                          For reference for anyone else having this issue, I used the following link to setup the permanent mount in ubuntu 14.04, then went to storage management and pointed to the Fog server under the new mounted directory.
                          [url]https://wiki.ubuntu.com/MountWindowsSharesPermanently[/url]

                          1 Reply Last reply Reply Quote 0
                          • Junkhacker
                            Junkhacker Developer last edited by

                            can you mount the volume with full privileges, and symbolic link the /images location to the drive?

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zalittle last edited by

                              I know it does not support NFS, and I cannot find anything on it in regards to FTP. I know it support SMB, and it does have software to be used as a media streaming server. The only purpose I want to use it for though would be for Fog.

                              [url]http://www.seagate.com/external-hard-drives/home-entertainment/media-sharing-devices/seagate-central/#features[/url]

                              1 Reply Last reply Reply Quote 0
                              • Junkhacker
                                Junkhacker Developer last edited by

                                i am not familiar with the device. does it support NFS and FTP protocols?

                                signature:
                                Junkhacker
                                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                                149
                                Online

                                10.2k
                                Users

                                16.3k
                                Topics

                                149.9k
                                Posts

                                Copyright © 2012-2020 FOG Project