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

    I would like add a new hdd ...

    Scheduled Pinned Locked Moved Solved
    General Problems
    4
    46
    12.3k
    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
      afaure @george1421
      last edited by

      @george1421

      Yes, i would like used two data stores.

      So, i do:

      1. Create a new mount point /images2 and edit the fstab to write the path.
      2. Edit the configuration of the new storage node on fog.
      3. Edit the file /etc/exports and copy/paste the last line of this file
      4. Refresh the file /etc/export with a commande exportfs -a
      5. Create the same structure of /images and /images/dev

      It’s correct ?

      For the first point, i can used this documentation:
      https://wiki.fogproject.org/wiki/index.php?title=Adding_Storage_to_a_FOG_Server

      It’s OK for you?

      Thanks.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @afaure
        last edited by george1421

        @afaure yes that linked document contains the bits of what you need. The only thing you are doing different is creating second data store where that one assumes you will just have one.

        If you combine what you just outlined and the info in that link you have everything you need.

        When you get done reboot the fog server then post the results of these commands and I will confirm.

        1. lsblk (shows the physical block devices)
        2. df -h (shows the mounted block devices)
        3. showmount -e 127.0.0.1 (show the shared volumes)

        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!

        A 2 Replies Last reply Reply Quote 0
        • A
          afaure @george1421
          last edited by

          @george1421 thanks !!!

          Ok, i try today and post the result !

          Thank you verymuch !

          1 Reply Last reply Reply Quote 0
          • A
            afaure @george1421
            last edited by

            @george1421 i’m back.

            I’ve trying to capture the image file but the files saved in /images 😞

            I have create a new storage group and storage node:
            0_1499937801412_stg-mgnt.png

            I have create a new image file and deleted the old image file and file *.img on the folder /images :
            0_1499937862317_new_img.png

            The results of the commands lsblk / df -h and showmount:
            0_1499937904021_term.png

            For the structure of /images2, i copied the folder dev and .Trash-1000 in /images to /images2

            Thanks

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @afaure
              last edited by

              @afaure Is storage2 node the only node in storage2 group?

              If so, it has to be set as master node for it to capture images. Only do this if it is indeed the only need in the group.

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Quazz
                last edited by

                @Quazz said in I would like a add a new hdd ...:

                it has to be set as master node for it to capture images

                Exactly, I was thinking about this as I commuted into the office this AM. Only the master node(s) can receive images. But that still doesn’t explain why its picking a master node in a different storage group.

                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!

                1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator
                  last edited by

                  Cross linking threads since the experience appears to be similar: https://forums.fogproject.org/topic/10442/location-plugin-not-working-after-update-to-1-4-4

                  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!

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

                    “STOCK 2” is not a master node, so capture of images would go to the “master” node of the group it’s in.

                    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

                    george1421G A 2 Replies Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Tom Elliott
                      last edited by george1421

                      @Tom-Elliott Great eye. I was focusing too much on the paths and devices to see that silly checkbox. That master node needs to be checked.

                      But I find it strange why it used storage1?? Wouldn’t / shouldn’t it say, “Hey, MR IT guy there are not active master nodes in my storage group. I have no place to capture this image” ??

                      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!

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

                        @Tom-Elliott @george1421 @Quazz thanks for reply.

                        I would like capture images with the default node and the new node storage2.
                        Storage2 is alone one the group storage.

                        Default = 1hdd
                        Storage2 = 1 hdd

                        I need to check the box “master node” to use the two datastores ?

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @afaure
                          last edited by george1421

                          @afaure You have 2 storage groups. Each storage group needs a master node, since only master nodes can receive captured images. If you want to capture images and save them to each datastore then you do need to check the master node, as long as they are in their own storage group.

                          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!

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            afaure @george1421
                            last edited by

                            @george1421 said in I would like a add a new hdd ...:

                            You have 2 storage groups. Each storage group needs a master node, since only master nodes can receive captured images. If you want to capture images and save them to each datastore then you do need to check the master node, as long as they are in their own storage group

                            Ok, i going check this box and try a new capture.
                            I will be back !

                            Thanks everywhone !

                            1 Reply Last reply Reply Quote 0
                            • A
                              afaure
                              last edited by

                              I’m sorry.
                              It doesn’t work…

                              I have check the box and the result is equal.
                              The node 1 (Default) is used to the capture 😞

                              Do you have an idea ??

                              In the image configuration the node group is default.
                              I can’t change this settings…

                              0_1499951998681_e5440-cfg.png

                              Thanks.

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator @afaure
                                last edited by

                                @afaure Hi. On that page, on the left hand side there is Image Menu. The second option is Storage Group. Click on that. You can now choose a storage group.

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  afaure @Quazz
                                  last edited by

                                  @Quazz it doesn’t work…

                                  Q 1 Reply Last reply Reply Quote 0
                                  • Q
                                    Quazz Moderator @afaure
                                    last edited by

                                    @afaure What do you mean? What goes wrong?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      afaure @Quazz
                                      last edited by

                                      @Quazz said in I would like a add a new hdd ...:

                                      What do you mean? What goes wrong?

                                      I can’t change this settings …
                                      I trying to change this settings to storage2 but it doesn’t work.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        afaure @afaure
                                        last edited by

                                        @afaure said in I would like a add a new hdd ...:

                                        @Quazz said in I would like a add a new hdd ...:

                                        What do you mean? What goes wrong?

                                        I can’t change this settings …
                                        I trying to change this settings to storage2 but it doesn’t work.

                                        Two screenshots to explain my situation:

                                        0_1499955022832_store2.png

                                        0_1499955034886_str_img.png

                                        So, i check the box for storage2 and click on “Add Image…” or “Update primary group” but the node default are keep 😞

                                        1 Reply Last reply Reply Quote 0
                                        • Q
                                          Quazz Moderator
                                          last edited by Quazz

                                          Hmm, it’s working on my end.

                                          Is there anything in the apache error logs? (FOG Configuration -> Log viewer -> Drop down apache error log)

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            afaure @Quazz
                                            last edited by

                                            @Quazz no log available.

                                            The message printing is “unable to open a file”

                                            In the configuration of a new node.
                                            The “password management” is the same of fog user ?

                                            Q george1421G 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            214

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project