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

Setting up new storage node

Scheduled Pinned Locked Moved Solved
Linux Problems
6
24
11.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.
  • I
    ITSolutions Testers
    last edited by Oct 9, 2015, 3:25 PM

    If you formatted it as NTFS that is the start of your issues. It needs to be ext2, 3, or 4 in order to work correctly with FOG. Try reformatting and mounting it as ext 4 and see if that fixes your issue.

    1 Reply Last reply Reply Quote 1
    • J
      Jordonlovik
      last edited by Oct 9, 2015, 3:54 PM

      @ITSolutions I did what you said. formatted for Ext4 (same as Root). I am getting the same error.

      FogSettings.JPG

      Ext 4 does not allow me to create new folders so this time i just made the location /Fogdrive
      Kubuntu.JPG

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Wayne Workman Oct 9, 2015, 10:06 AM Oct 9, 2015, 3:58 PM

        After the new drive is formated and mounted and you can SEE it in the linux system,

        open the CLI, go to the new image directory (wherever you mounted it)

        create a .mntcheck file there, then create the dev folder and a .mntcheck file in there.

        touch .mntcheck;mkdir dev;touch dev/.mntcheck
        

        The new directory needs 777 permissions assigned to it recursively as well (you may change this later after it’s working)

        I’m keeping my instructions and commands here generic so that this can help others.

        chmod -R 777 /the/path/to/your/new/hdd/mount/goes/here
        

        Then you need to add the new images and new dev folders to the exports file:

        vi /etc/exports
        

        You’ll see the two lines in there already for your old local storage node. They will have IDs, and in 1.2.0 they start at 1.
        Copy those two lines, change the IDs to 3 and 4. Modify the paths so they are correct.

        Then either reboot or restart NFS and RCP.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        J 2 Replies Last reply Oct 9, 2015, 4:58 PM Reply Quote 1
        • W
          Wayne Workman
          last edited by Oct 9, 2015, 4:00 PM

          And obviously add the new location to your Storage Management area as a new master node (in it’s own group as well)

          And I agree with @ITSolutions , it’s probably a very bad idea to try to use NTFS. I’d recommend Ext4 as he did.

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          S 1 Reply Last reply Oct 10, 2015, 12:24 AM Reply Quote 0
          • J
            Jordonlovik @Wayne Workman
            last edited by Oct 9, 2015, 4:58 PM

            @Wayne-Workman Ok so i think i followed you up untill the last part

            @Wayne-Workman said:

            After the new drive is formated and mounted and you can SEE it in the linux system,

            open the CLI, go to the new image directory (wherever you mounted it)

            create a .mntcheck file there, then create the dev folder and a .mntcheck file in there.

            touch .mntcheck;mkdir dev;touch dev/.mntcheck
            

            The new directory needs 777 permissions assigned to it recursively as well (you may change this later after it’s working)

            I’m keeping my instructions and commands here generic so that this can help others.

            chmod -R 777 /the/path/to/your/new/hdd/mount/goes/here
            

            Then you need to add the new images and new dev folders to the exports file:

            vi /etc/exports
            

            You’ll see the two lines in there already for your old local storage node. They will have IDs, and in 1.2.0 they start at 1.
            Copy those two lines, change the IDs to 3 and 4. Modify the paths so they are correct.

            Then either reboot or restart NFS and RCP.

            Could you expound on what the last step does?

            Fog.JPG

            Kubuntu.JPG

            W 1 Reply Last reply Oct 9, 2015, 5:01 PM Reply Quote 0
            • W
              Wayne Workman @Jordonlovik
              last edited by Wayne Workman Oct 9, 2015, 11:03 AM Oct 9, 2015, 5:01 PM

              @Jordonlovik

              It’s not temp.mntcheck it’s just .mntcheck

              (Files that begin with a period in Linux are hidden, you can see hidden files with ls -la)

              for the /etc/exports stuff, look at this: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS Look at the NFS Settings area in that article.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • J
                Jordonlovik @Wayne Workman
                last edited by Oct 9, 2015, 5:34 PM

                @Wayne-Workman So essentially I am editing the old original .mntcheck files copying their contents, editing them to reflect my new location, changing the 1 to 3 and the 2 to a 4 and then saving that data over my new .mntcheck files in the new location under /media/administrator/Fogdrive. Do I have that correct?

                W 1 Reply Last reply Oct 9, 2015, 5:53 PM Reply Quote 0
                • W
                  Wayne Workman @Jordonlovik
                  last edited by Oct 9, 2015, 5:53 PM

                  @Jordonlovik said:

                  Do I have that correct?

                  Not really no. Sorry.

                  the .mntcheck files are empty. They are blank. When NFS mounting occurs on the client, it then verifies that mounting was done correctly and is working. It does this by checking for a file called .mntcheck The clients do not look inside the file, they merely look to see if the file exists. Hence “mnt check”

                  the /etc/exports file defines what directories are exported. think of this as sharing. In that file, you should have two lines that describe your existing local storage node. Just copy those lines and past them at the end of the file, and change those two pasted lines to describe the new exported directories (wherever you mounted your hdd to). You’ll need to update their IDs. You cannot have duplicate IDs in this file. Then you save your changes, and then reboot.

                  Does this make sense?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 1
                  • J
                    Jordonlovik
                    last edited by Oct 9, 2015, 6:41 PM

                    @Wayne-Workman yes it does thank you. all i have to do is add two new lines with new IDs that correspond with the new node location.

                    W 1 Reply Last reply Oct 9, 2015, 6:42 PM Reply Quote 0
                    • W
                      Wayne Workman @Jordonlovik
                      last edited by Oct 9, 2015, 6:42 PM

                      @Jordonlovik said:

                      all i have to do is add two new lines with new IDs that correspond with the new node location.

                      Correct.

                      Plus the .mntcheck files and dev folder, and the matching stuff in the web interface afterwards.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 1
                      • J
                        Jordonlovik
                        last edited by Oct 9, 2015, 7:54 PM

                        @Wayne-Workman Is there any other way to edit the .mntcheck file? the vi editor is really giving me trouble through my remote session.

                        W 1 Reply Last reply Oct 9, 2015, 7:59 PM Reply Quote 0
                        • W
                          Wayne Workman @Jordonlovik
                          last edited by Oct 9, 2015, 7:59 PM

                          @Jordonlovik

                          You don’t edit the .mntcheck file. It’s supposed to be a blank file.

                          You simply create it with touch .mntcheck and that’s it, you are done.

                          http://www.linfo.org/touch.html

                          The touch Command
                          The touch command is the easiest way to create new, empty 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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          J 1 Reply Last reply Oct 9, 2015, 9:04 PM Reply Quote 1
                          • J
                            Jordonlovik @Wayne Workman
                            last edited by Oct 9, 2015, 9:04 PM

                            @Wayne-Workman Sorry im saying that wrong i am actually modifying the /etc/exports file! I don’t know how or why i was thinking .mntcheck still. It looks like i may have F’ed my server over anyways. This is my first run at Linux and its been a bumpy one. I was not able to edit the /etc/Exports file because it was owned by root. So i ran the 777 permissions command not knowing the consequences. now i am getting the Sudoers is world writable error. I wish i had realize my install partitioned so idiotic by default. i have plenty of storage space its just not in the root directory where it needs to be.

                            W 1 Reply Last reply Oct 9, 2015, 9:37 PM Reply Quote 0
                            • W
                              Wayne Workman @Jordonlovik
                              last edited by Oct 9, 2015, 9:37 PM

                              @Jordonlovik I apologize, I should have realized. You do need “super user” permission when editing /etc/exports.

                              you can either A. change to super user for the duration of your session like sudo su or B. execute only one command with sudo like sudo vi /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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 1
                              • S
                                sudburr @Wayne Workman
                                last edited by Oct 10, 2015, 12:24 AM

                                @Wayne-Workman said:

                                And I agree with @ITSolutions , it’s probably a very bad idea to try to use NTFS. I’d recommend Ext4 as he did.

                                Poking my nose into this little 'ism. The NTFS formatted image drives, physical and virtual, that I’ve been using for over a year disagree. 😉

                                [ Standing in between extinction in the cold and explosive radiating growth ]

                                1 Reply Last reply Reply Quote 1
                                • T
                                  Tom Elliott
                                  last edited by Tom Elliott Oct 9, 2015, 9:06 PM Oct 10, 2015, 3:05 AM

                                  Maybe I’m seeing the wrong thing.

                                  The DefaultMember is IP address 10.1.1.201, but the new node (which I imagine is on the same server?) is set to IP 10.1.1.102

                                  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

                                  J 1 Reply Last reply Oct 10, 2015, 6:41 PM Reply Quote 1
                                  • J
                                    Jordonlovik @Tom Elliott
                                    last edited by Oct 10, 2015, 6:41 PM

                                    @Tom-Elliott said:

                                    10.1.1.201, but the new node (which I imagine is on the same s

                                    I noticed this myself. I changed that and am sill experiencing the same error.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Jordonlovik
                                      last edited by Oct 10, 2015, 6:45 PM

                                      At this point I am strongly considering a full reinstall of the server. Although it was labor intensive. I was just starting to experience the wonder of FOG imaging too. and I love it.

                                      W 1 Reply Last reply Oct 10, 2015, 6:46 PM Reply Quote 0
                                      • W
                                        Wayne Workman @Jordonlovik
                                        last edited by Oct 10, 2015, 6:46 PM

                                        @Jordonlovik said:

                                        At this point I am strongly considering a full reinstall of the server. Although it was labor intensive. I was just starting to experience the wonder of FOG imaging too. and I love it.

                                        I’d recommend CentOS or Fedora. These instructions basically work for both: https://wiki.fogproject.org/wiki/index.php/Fedora_21_Server

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        J 1 Reply Last reply Oct 10, 2015, 6:52 PM Reply Quote 1
                                        • J
                                          Jordonlovik @Wayne Workman
                                          last edited by Oct 10, 2015, 6:52 PM

                                          @Wayne-Workman You don’t prefer Kubuntu for FOG setups?

                                          W 1 Reply Last reply Oct 10, 2015, 7:16 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            11/24
                                            Last post

                                          191

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project