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

    Secondary Drive

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    11
    2.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.
    • S
      Sebastian Roth Moderator
      last edited by

      @dureal99d Sure it is possible. There is a description in the wiki on how to extend space for images if you are running FOG in a vmware environment. But you can follow this pretty much to the point except that you need to buy and pop in a secondary physical disk instead of adding a virtual one… https://wiki.fogproject.org/wiki/index.php?title=Add_%26_Extend_a_2nd_Virtual_HDD

      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

      D 1 Reply Last reply Reply Quote 2
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        Yes it’s easily possible. Is it an internal drive or external one? And what OS is your FOG server running?

        You may glance through these instructions - I wrote them about a year or so ago but they work, in fact I used them to partition, format, and mount an external sata drive on my new raspberry pi recently… so that tells me the instructions are pretty universal. You’ll want to read through the text and not just throw commands at your server. Because you asked, I just spruced up the instructions a little.

        https://wiki.fogproject.org/wiki/index.php?title=Fedora_21_Server#Formatting_.26_mounting_a_2nd_SATA_drive

        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/

        D 1 Reply Last reply Reply Quote 1
        • D
          dureal99d @Wayne Workman
          last edited by

          @Wayne-Workman I run Ubuntu 16.04 fog 1.3.0 rc8

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @dureal99d
            last edited by

            @dureal99d Thank you. Just give the instructions a shot. Post here if you have difficulties or if you succeed too.

            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/

            D 1 Reply Last reply Reply Quote 1
            • D
              dureal99d @Wayne Workman
              last edited by

              @Wayne-Workman Will do!!!

              1 Reply Last reply Reply Quote 0
              • D
                dureal99d @Sebastian Roth
                last edited by dureal99d

                @Sebastian-Roth and @Wayne-Workman I like you tutorial and all but I prefer to have the images in a certain folder than on the open hard drive (secondary) how would I achieve this?

                for example at the end once I clean up the mnt test folder should I run "mount -t ext4 /dev/sdb1/whateverfolderIcreate /images

                this would insure that the fog images folder is mounted in side this whateverfoldericreate folder yes?

                also looking @Wayne-Workman guide, do I need to concern myself with permission issues and exporting the nfs again? or is this like linking it to the main folder?

                I assume it is but assuming right.

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

                  @dureal99d said in Secondary Drive:

                  for example at the end once I clean up the mnt test folder should I run "mount -t ext4 /dev/sdb1/whateverfolderIcreate /images

                  this would insure that the fog images folder is mounted in side this whateverfoldericreate folder yes?

                  Linux file system doesn’t work that way, the mount command mounts a partition to a mount point.

                  In your case you can either mount a new disk to the /images folder as in Sebastians post, or if your linux server uses LVM, you can just add that new disk to the root LVM group and then just extend your root lvm group. Let the LVM disk manager manage how that disk is used. There are many how-tos on how to work with LVM: https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/

                  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!

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    dureal99d @george1421
                    last edited by dureal99d

                    @Wayne-Workman I was getting an error about the directory not existing when i would try an image upload but i then realized that i had not updated the server to point to /images2 in both the default and the secondary nodes setting. i now am performing an test image upload.
                    0_1474127249024_upload error.png

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dureal99d @dureal99d
                      last edited by

                      @Wayne-Workman Your instructions worked like a glove. Easy peasy. Thank You!!!

                      1 Reply Last reply Reply Quote 0
                      • D
                        dureal99d
                        last edited by dureal99d

                        One detail that I left out was that the fog images files were saved on the open partition of the 5tb drive I assigned them too as pointed out by @george1421.

                        I admit i was a bit confused at first by what he was saying as i wanted to mount the images to a specific folder on the drive (secondary) and then i realized that i needed to partition the drive as the new fog destination needed its own space. I then create space on the drive by partitioning the drive and mounting the second partition as a files storage for whatever i like while the fog partition would stay hidden.

                        0_1474264470152_partition.png

                        Thank you guys this thread is solved, success!!!

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

                        237

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project