NFSv4 which “domain” to put in idmapd.conf?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite
1












I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again.



Then I found some solutions to set the Domain=_____ in the idmapd.conf file.



  • But what am I suppose to put there (in both Server and Clients)?

  • I only have IP addresses.









share|improve this question























  • Sorry, that was my bad
    – Timo
    Mar 3 '14 at 13:11










  • Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
    – slm♦
    Mar 3 '14 at 13:36











  • Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
    – slm♦
    Mar 3 '14 at 13:38










  • there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
    – å¤æœŸåŠ‡å ´
    Mar 3 '14 at 15:33














up vote
4
down vote

favorite
1












I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again.



Then I found some solutions to set the Domain=_____ in the idmapd.conf file.



  • But what am I suppose to put there (in both Server and Clients)?

  • I only have IP addresses.









share|improve this question























  • Sorry, that was my bad
    – Timo
    Mar 3 '14 at 13:11










  • Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
    – slm♦
    Mar 3 '14 at 13:36











  • Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
    – slm♦
    Mar 3 '14 at 13:38










  • there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
    – å¤æœŸåŠ‡å ´
    Mar 3 '14 at 15:33












up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again.



Then I found some solutions to set the Domain=_____ in the idmapd.conf file.



  • But what am I suppose to put there (in both Server and Clients)?

  • I only have IP addresses.









share|improve this question















I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again.



Then I found some solutions to set the Domain=_____ in the idmapd.conf file.



  • But what am I suppose to put there (in both Server and Clients)?

  • I only have IP addresses.






centos files configuration nfs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 3 '14 at 13:14

























asked Mar 3 '14 at 11:26









夏期劇場

56461331




56461331











  • Sorry, that was my bad
    – Timo
    Mar 3 '14 at 13:11










  • Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
    – slm♦
    Mar 3 '14 at 13:36











  • Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
    – slm♦
    Mar 3 '14 at 13:38










  • there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
    – å¤æœŸåŠ‡å ´
    Mar 3 '14 at 15:33
















  • Sorry, that was my bad
    – Timo
    Mar 3 '14 at 13:11










  • Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
    – slm♦
    Mar 3 '14 at 13:36











  • Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
    – slm♦
    Mar 3 '14 at 13:38










  • there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
    – å¤æœŸåŠ‡å ´
    Mar 3 '14 at 15:33















Sorry, that was my bad
– Timo
Mar 3 '14 at 13:11




Sorry, that was my bad
– Timo
Mar 3 '14 at 13:11












Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
– slm♦
Mar 3 '14 at 13:36





Take a look at this tutorial: enterprisenetworkingplanet.com/netos/article.php/3644471/… as well as this one: help.ubuntu.com/community/NFSv4Howto
– slm♦
Mar 3 '14 at 13:36













Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
– slm♦
Mar 3 '14 at 13:38




Also here's a CentOS specific article for domain + NFSv4 blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11
– slm♦
Mar 3 '14 at 13:38












there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
– å¤æœŸåŠ‡å ´
Mar 3 '14 at 15:33




there, it is mentioned change Domain to <your.fully.qualified.domain.name>. My question here is, what to add for fqdn there?
– å¤æœŸåŠ‡å ´
Mar 3 '14 at 15:33










2 Answers
2






active

oldest

votes

















up vote
0
down vote













If you actually have a valid, globally-unique domain name reserved to you, that is of course a great choice.



But more important than the actual value of the NFS4 domain setting is probably that the same domain setting is used both in the NFS4 server and all its clients. If the domains are different, the server will treat all client users as nobody.






share|improve this answer



























    up vote
    0
    down vote













    According to Wikipedia.
    this would be <hostname>.<domainname> or simply your hostname if you are not part of a domain.



    Fancy "stolen" one-liner:



    echo `uname -n`.`awk '/^domain/ print $2' /etc/resolv.conf`


    If the result ends in <hostname>., delete the . => you are not part of a domain.






    share|improve this answer






















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f117900%2fnfsv4-which-domain-to-put-in-idmapd-conf%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      If you actually have a valid, globally-unique domain name reserved to you, that is of course a great choice.



      But more important than the actual value of the NFS4 domain setting is probably that the same domain setting is used both in the NFS4 server and all its clients. If the domains are different, the server will treat all client users as nobody.






      share|improve this answer
























        up vote
        0
        down vote













        If you actually have a valid, globally-unique domain name reserved to you, that is of course a great choice.



        But more important than the actual value of the NFS4 domain setting is probably that the same domain setting is used both in the NFS4 server and all its clients. If the domains are different, the server will treat all client users as nobody.






        share|improve this answer






















          up vote
          0
          down vote










          up vote
          0
          down vote









          If you actually have a valid, globally-unique domain name reserved to you, that is of course a great choice.



          But more important than the actual value of the NFS4 domain setting is probably that the same domain setting is used both in the NFS4 server and all its clients. If the domains are different, the server will treat all client users as nobody.






          share|improve this answer












          If you actually have a valid, globally-unique domain name reserved to you, that is of course a great choice.



          But more important than the actual value of the NFS4 domain setting is probably that the same domain setting is used both in the NFS4 server and all its clients. If the domains are different, the server will treat all client users as nobody.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 18 '17 at 0:28









          telcoM

          11.5k11333




          11.5k11333






















              up vote
              0
              down vote













              According to Wikipedia.
              this would be <hostname>.<domainname> or simply your hostname if you are not part of a domain.



              Fancy "stolen" one-liner:



              echo `uname -n`.`awk '/^domain/ print $2' /etc/resolv.conf`


              If the result ends in <hostname>., delete the . => you are not part of a domain.






              share|improve this answer


























                up vote
                0
                down vote













                According to Wikipedia.
                this would be <hostname>.<domainname> or simply your hostname if you are not part of a domain.



                Fancy "stolen" one-liner:



                echo `uname -n`.`awk '/^domain/ print $2' /etc/resolv.conf`


                If the result ends in <hostname>., delete the . => you are not part of a domain.






                share|improve this answer
























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  According to Wikipedia.
                  this would be <hostname>.<domainname> or simply your hostname if you are not part of a domain.



                  Fancy "stolen" one-liner:



                  echo `uname -n`.`awk '/^domain/ print $2' /etc/resolv.conf`


                  If the result ends in <hostname>., delete the . => you are not part of a domain.






                  share|improve this answer














                  According to Wikipedia.
                  this would be <hostname>.<domainname> or simply your hostname if you are not part of a domain.



                  Fancy "stolen" one-liner:



                  echo `uname -n`.`awk '/^domain/ print $2' /etc/resolv.conf`


                  If the result ends in <hostname>., delete the . => you are not part of a domain.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 18 at 17:36









                  αғsнιη

                  15.7k92563




                  15.7k92563










                  answered Mar 29 '17 at 11:57









                  sweisgerber.dev

                  418146




                  418146



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f117900%2fnfsv4-which-domain-to-put-in-idmapd-conf%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay