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

    Using NFSv4 for FOG deployment/capture

    Scheduled Pinned Locked Moved
    Tutorials
    3
    4
    764
    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.
    • Q
      quinniedid
      last edited by

      @george1421 If you can provide some guidance on what you did to get NFSv4 working for FOG and the modifications that were needed, I will do my best to create a tutorial so that others can accomplish the same until the feature request can be implemented.

      As for the /etc/exports you are simply showing the output there, but I am guess this is the same file that is modified for the uid and gid? Where do I go to update the mount command? nfs-utils I am at a loss as to how to begin with making those modifications?

      I see that there are other modifications that you did but it wasn’t entirely clear whether those were actually necessary or not?

      Any help or guidance would be great! Thank you for helping out this amazing community!

      Reference: Feature request for FOG 1.6.x - Configure image capture to use NFSv4 instead of NFSv3

      george1421G 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @quinniedid For messing with the scripts you want to read this wiki article: https://wiki.fogproject.org/wiki/index.php?title=Modifying_the_Init_Image

        Edit: I just read a bit further through the things George posted and found this: https://forums.fogproject.org/post/139596

        As I continue down this rabbit hole I find that in buildroot the nfs-utils in nfs-utils.mak nfsv4 is specifically disabled.

        So changing the scripts might not be enough.

        To build inits from scratch you wanna start here: https://github.com/FOGProject/fos

        There is no need for docker as seen in the readme file. Just clone the repo on a powerful system (lots of CPU, RAM and disk space) and start by running:

        ./build.sh -f -a x64
        

        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 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @Sebastian Roth
          last edited by

          @sebastian-roth I have an update on this. I’ve had some time on friday night to run through and standup a new FOG 1.5.9 server and convert it over to NFSv4. I have tested capturing an image so far and will confirm that deployment works as it should later today. The heavy lifting (so to speak) for conversion is done in FOS linux. The FOG server NFSv4 changes can be made side by side with NFSv3 except for one change in the bootmeu.php page where we change the capture directory from dev/ to capture/.

          On the FOS linux side, I was thinking if we used a nfsv4=true kernel parameter we could make FOS linux support both nfsv3 and v4 out of the box. I’ll fill in a bit more details after I confirm a deploy works as expected.

          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 @quinniedid
            last edited by

            @quinniedid I updated this article with the testing from today: https://forums.fogproject.org/topic/14791/feature-request-for-fog-1-6-x-configure-image-capture-to-use-nfsv4-instead-of-nfsv3

            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
            • 1 / 1
            • First post
              Last post

            158

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project