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

Using NFSv4 for FOG deployment/capture

Scheduled Pinned Locked Moved
Tutorials
3
4
747
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 Jun 11, 2021, 4:08 PM

    @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

    G 1 Reply Last reply Jun 13, 2021, 3:41 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Jun 11, 2021, 11:54 AM Jun 11, 2021, 5:49 PM

      @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

      G 1 Reply Last reply Jun 13, 2021, 1:46 PM Reply Quote 0
      • G
        george1421 Moderator @Sebastian Roth
        last edited by Jun 13, 2021, 1:46 PM

        @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
        • G
          george1421 Moderator @quinniedid
          last edited by Jun 13, 2021, 3:41 PM

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

          157

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project