• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.4k
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
    last edited by Jul 12, 2017, 3:30 PM

    Hello George,

    Thanks for reply.

    The result of the command

    showmount -e 127.0.0.1
    

    0_1499873370315_terminal.png

    For Information, i have installed a 2nd HDD and the mount point is located in the folder /images --> It’s works

    In this case, i would like add a 3e hdd and create a new repository to save the new image… The second HDD is full 😞

    Thanks !

    G 1 Reply Last reply Jul 12, 2017, 3:39 PM Reply Quote 0
    • G
      george1421 Moderator @afaure
      last edited by george1421 Jul 12, 2017, 9:40 AM Jul 12, 2017, 3:39 PM

      @afaure The way you say works (mounting /dev/sdc1 over /images) is one way to do it. But I think you want two data stores.

      To make things easy for you, create a new mount point called /images2 and then mount the new drive there. So you will have /images -> old drive /images2 -> new drive.

      Once that is done then update your storage node information to point to /images2 (keeping the data path name short).

      Lastly you need to update the nfs exports in /etc/exports. Just clone the lines in there and then fix the path to make /image2 for the new datastore. And finally refresh your nfs exports with exportfs -a . Run the showmount command to ensure that you have the shares created correctly.

      Lastly you need to create the proper drive structure as with /images. You will need a /images2/dev directory as well as the hidden directory flag files. Use this command ls -la /images to see the names of the hidden 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!

      A 1 Reply Last reply Jul 12, 2017, 3:55 PM Reply Quote 0
      • A
        afaure @george1421
        last edited by Jul 12, 2017, 3:55 PM

        @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.

        G 1 Reply Last reply Jul 12, 2017, 4:07 PM Reply Quote 0
        • G
          george1421 Moderator @afaure
          last edited by george1421 Jul 12, 2017, 10:10 AM Jul 12, 2017, 4:07 PM

          @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 Jul 13, 2017, 7:21 AM Reply Quote 0
          • A
            afaure @george1421
            last edited by Jul 13, 2017, 7:21 AM

            @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 Jul 13, 2017, 9:28 AM

              @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 Jul 13, 2017, 10:43 AM Reply Quote 0
              • Q
                Quazz Moderator @afaure
                last edited by Jul 13, 2017, 10:43 AM

                @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.

                G 1 Reply Last reply Jul 13, 2017, 11:45 AM Reply Quote 0
                • G
                  george1421 Moderator @Quazz
                  last edited by Jul 13, 2017, 11:45 AM

                  @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
                  • G
                    george1421 Moderator
                    last edited by Jul 13, 2017, 11:49 AM

                    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
                    • T
                      Tom Elliott
                      last edited by Jul 13, 2017, 12:06 PM

                      “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

                      G A 2 Replies Last reply Jul 13, 2017, 12:18 PM Reply Quote 0
                      • G
                        george1421 Moderator @Tom Elliott
                        last edited by george1421 Jul 13, 2017, 6:19 AM Jul 13, 2017, 12:18 PM

                        @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 Jul 13, 2017, 12:23 PM

                          @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 ?

                          G 1 Reply Last reply Jul 13, 2017, 12:26 PM Reply Quote 0
                          • G
                            george1421 Moderator @afaure
                            last edited by george1421 Jul 13, 2017, 6:27 AM Jul 13, 2017, 12:26 PM

                            @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 Jul 13, 2017, 12:34 PM Reply Quote 0
                            • A
                              afaure @george1421
                              last edited by Jul 13, 2017, 12:34 PM

                              @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 Jul 13, 2017, 1:20 PM

                                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 Jul 13, 2017, 1:24 PM Reply Quote 0
                                • Q
                                  Quazz Moderator @afaure
                                  last edited by Jul 13, 2017, 1:24 PM

                                  @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 Jul 13, 2017, 1:49 PM Reply Quote 0
                                  • A
                                    afaure @Quazz
                                    last edited by Jul 13, 2017, 1:49 PM

                                    @Quazz it doesn’t work…

                                    Q 1 Reply Last reply Jul 13, 2017, 1:50 PM Reply Quote 0
                                    • Q
                                      Quazz Moderator @afaure
                                      last edited by Jul 13, 2017, 1:50 PM

                                      @afaure What do you mean? What goes wrong?

                                      A 1 Reply Last reply Jul 13, 2017, 1:52 PM Reply Quote 0
                                      • A
                                        afaure @Quazz
                                        last edited by Jul 13, 2017, 1:52 PM

                                        @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 Jul 13, 2017, 2:12 PM Reply Quote 0
                                        • A
                                          afaure @afaure
                                          last edited by Jul 13, 2017, 2:12 PM

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

                                          215

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project