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

Using a NAS for storage

Scheduled Pinned Locked Moved
FOG Problems
2
8
3.1k
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
    Alex B
    last edited by Apr 11, 2014, 1:57 PM

    Hello I am having a slight issue with setting up fog and using a separate Nas as a storage.
    Currently my setup is as follows:
    Fog is installed on ubuntu 10.4LTS
    My NAS is run from Windows Server 2012R2.
    I have NFS running and working and fog is able to upload an image to the images/dev folder without an issue.
    I then get the error saying that fog is unable to move the image from the dev folder to the images folder.
    I have created a FTP server on my server and at the moment I have it set to allow Anonymous Users with read write permissions. I am able to successful use filezilla to connect to the FTP server from my ubuntu machine and make changes with the user ftp and I have created a seperate storage node that has the ftp user for “Management UserName” with the correct username as well.

    If anyone could help that would be wonderful. If you need more information please let me know and I will be happy to provide you with it.
    Also if you have a better way to use the Nas for a storage space please let me know.

    Thank you

    1 Reply Last reply Reply Quote 0
    • C
      chad-bisd Moderator
      last edited by Apr 11, 2014, 2:18 PM

      [SIZE=3][FONT=arial]you need to create a user account on the windows server named “fog” with the password from the fog user (Other Information -> FOG Settings -> TFTP Server -> [COLOR=#333333]FOG_TFTP_FTP_PASSWORD). Give this user FTP access to the directories you are storing your images. At the end of the image upload process, FOG uses ftp to move the image from the images/dev/[mac-address] folder to the /images/[imagename] folder or file, depending on image type.[/COLOR][/FONT][/SIZE]

      [SIZE=3][FONT=arial][COLOR=#333333]It does this using “fog” as the username, and the password value from the setting mentioned in the above paragraph. The password is not encrypted, just create it as-is. It’s complex because it’s only ever used by the FOG system or an admin testing/debugging. [/COLOR][/FONT][/SIZE]


      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

      1 Reply Last reply Reply Quote 0
      • A
        Alex B
        last edited by Apr 11, 2014, 2:21 PM

        OK thank you I will give this a try and let you know if this works.

        1 Reply Last reply Reply Quote 0
        • A
          Alex B
          last edited by Apr 11, 2014, 3:11 PM

          OK so I added a fog user name and gave that user access with ftp. I was able to verify that the user has has permissions with fileZilla however I am still getting the unable to move from the dev folder to the images folder.
          Do I have to change anything to get this to work?
          I have also verified that if i change the name manually and move it then I can image a machine.
          So after I get this part working everything should be good.

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by Apr 11, 2014, 3:18 PM

            from you FOG server command line, see if you can ftp into your NAS using the username “fog” and the password from the setting. Then see if you can issue a mv command on a file, create a file, and delete a file.


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by Apr 11, 2014, 3:21 PM

              Have you checked out this thread yet? [url]http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/[/url]


              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

              1 Reply Last reply Reply Quote 0
              • A
                Alex B
                last edited by Apr 11, 2014, 4:06 PM

                I can ftp in however the mv gives me a invalid command.
                Also I have checked that thread however I am still unable to get this to work

                1 Reply Last reply Reply Quote 0
                • A
                  Alex B
                  last edited by Apr 11, 2014, 5:22 PM

                  So i was able to use the rename command to rename the image and move it up a directory.
                  so at this point what could be my issue?

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

                  167

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project