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;
}
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
files nfs
New contributor
New contributor
edited 33 mins ago
Tom Cumming
New contributor
asked 1 hour ago
Tom CummingTom Cumming
11
11
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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