NFS client resetting another NFS client file pointerNFS to clients with different uid:s than on the server,...

How come Arya Stark didn't burn in Game of Thrones Season 8 Episode 5

Why didn't Daenerys' advisers suggest assassinating Cersei?

Divisor Rich and Poor Numbers

What is this rubber on gear cables

Assign the same string to multiple variables

Why does Taylor’s series “work”?

Do high-wing aircraft represent more difficult engineering challenges than low-wing aircraft?

Cycling to work - 30mile return

Why did nobody know who the Lord of this region was?

Would a "ring language" be possible?

What are the effects of eating many berries from the Goodberry spell per day?

Is Precocious Apprentice enough for Mystic Theurge?

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Find the area of the rectangle

SHAKE-128/256 or SHA3-256/512

Deleting the same lines from a list

"Counterexample" for the Inverse function theorem

AD: OU for system administrator accounts

Roman Numerals Equation 2

Cannot remove door knob -- totally inaccessible!

​Cuban​ ​Primes

When did Britain learn about American independence?

Single word that parallels "Recent" when discussing the near future

Could a space colony 1g from the sun work?



NFS client resetting another NFS client file pointer


NFS to clients with different uid:s than on the server, where the client uid:s shall not show up in the serverOpenBSD NFS server with Linux NFS clients — file size limit?Mount.nfs is using a serial portLet root read all files on NFS directory, even though server has root_squash enabledWhat would cause NFS file move/delete operations to fail?NFS high availabilityWhere are NFS v4 logs under systemd?NFS mounts getting unmounted, possibly by the kernelStale NFS File Handle why does fsid resolve it?Failed writes after a while on mounted nfs volume






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a device that writes logs to a logfile on an nfs mountpoint. It writes to the same logfile "forever" resulting in a file that gets insanely large.



I have a script (running on another nfs client) that does a log rotate, so that I have smaller daily logfiles. When I'm done with the log rotate, I would like to force the device's file pointer to the start of the file so that the device would start writing at the start of the logfile again.



This would require the nfs client doing the log rotate doing, "something" (not sure what) to the log file that would force the other nfs client (the writing device) to set its file pointer to the start of the file.



My understanding is that this can't be done because each nfs client independently maintains it's own file pointers.



Am I wrong? Can this be done?










share|improve this question









New contributor



Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I have a device that writes logs to a logfile on an nfs mountpoint. It writes to the same logfile "forever" resulting in a file that gets insanely large.



    I have a script (running on another nfs client) that does a log rotate, so that I have smaller daily logfiles. When I'm done with the log rotate, I would like to force the device's file pointer to the start of the file so that the device would start writing at the start of the logfile again.



    This would require the nfs client doing the log rotate doing, "something" (not sure what) to the log file that would force the other nfs client (the writing device) to set its file pointer to the start of the file.



    My understanding is that this can't be done because each nfs client independently maintains it's own file pointers.



    Am I wrong? Can this be done?










    share|improve this question









    New contributor



    Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I have a device that writes logs to a logfile on an nfs mountpoint. It writes to the same logfile "forever" resulting in a file that gets insanely large.



      I have a script (running on another nfs client) that does a log rotate, so that I have smaller daily logfiles. When I'm done with the log rotate, I would like to force the device's file pointer to the start of the file so that the device would start writing at the start of the logfile again.



      This would require the nfs client doing the log rotate doing, "something" (not sure what) to the log file that would force the other nfs client (the writing device) to set its file pointer to the start of the file.



      My understanding is that this can't be done because each nfs client independently maintains it's own file pointers.



      Am I wrong? Can this be done?










      share|improve this question









      New contributor



      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have a device that writes logs to a logfile on an nfs mountpoint. It writes to the same logfile "forever" resulting in a file that gets insanely large.



      I have a script (running on another nfs client) that does a log rotate, so that I have smaller daily logfiles. When I'm done with the log rotate, I would like to force the device's file pointer to the start of the file so that the device would start writing at the start of the logfile again.



      This would require the nfs client doing the log rotate doing, "something" (not sure what) to the log file that would force the other nfs client (the writing device) to set its file pointer to the start of the file.



      My understanding is that this can't be done because each nfs client independently maintains it's own file pointers.



      Am I wrong? Can this be done?







      files nfs






      share|improve this question









      New contributor



      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 33 mins ago







      Tom Cumming













      New contributor



      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      Tom CummingTom Cumming

      11




      11




      New contributor



      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Tom Cumming is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          active

          oldest

          votes












          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Tom Cumming is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519174%2fnfs-client-resetting-another-nfs-client-file-pointer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Tom Cumming is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Tom Cumming is a new contributor. Be nice, and check out our Code of Conduct.













          Tom Cumming is a new contributor. Be nice, and check out our Code of Conduct.












          Tom Cumming is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519174%2fnfs-client-resetting-another-nfs-client-file-pointer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...