Dirty unmount of nginx cache dir on rebootQuestions on using command mountNew SSD only mounts after issuing...
Why are stats in Angband written as 18/** instead of 19, 20...?
Who is frowning in the sentence "Daisy looked at Tom frowning"?
Can more than one instance of Bend Luck be applied to the same roll by multiple Wild Magic sorcerers?
pwaS eht tirsf dna tasl setterl fo hace dorw
Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?
Quotient of Three Dimensional Torus by Permutation on Coordinates
Combining two Lorentz boosts
How to draw pentagram-like shape in Latex?
Pedaling at different gear ratios on flat terrain: what's the point?
Lock out of Oracle based on Windows username
Can a generation ship withstand its own oxygen and daily wear for many thousands of years?
I recently started my machine learning PhD and I have absolutely no idea what I'm doing
How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?
Why do academics prefer Mac/Linux?
Error when running ((x++)) as root
What do you call bracelets you wear around the legs?
How to pipe results multiple results into a command?
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
How to customize the pie chart background in PowerPoint?
Is it a good idea to teach algorithm courses using pseudocode?
Windows reverting changes made by Linux to FAT32 partion
How do I balance a campaign consisting of four kobold PCs?
Was Tyrion always a poor strategist?
In Dutch history two people are referred to as "William III"; are there any more cases where this happens?
Dirty unmount of nginx cache dir on reboot
Questions on using command mountNew SSD only mounts after issuing blkid command. [Ubuntu 14.04]Interrupt systemd mount unit during bootReboot takes too longHow to mount/unmount SD card that was automatically mounted at boot?Nginx requires reload after rebootAdd a dependency to a systemd automountsetting up user-mounted filesystemsCan I mount a drive before systemd-sysv-generator runs?Systemd generated mount file is not deleted when the mount point entry in fstab is deleted or modified
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system.
It's fstab line is the following:
/data/project/cache.img /data/project/cache ext4 discard,defaults,nofail 0 2
My problem that it cannot be unmounted cleanly at system restart. If I manually stop the nginx service and manually unmount it, then there are no problems, but automatically it generates the following journalctl logs:
May 17 01:09:44 hn systemd-fstab-generator[334]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:09:44 hn systemd[1]: Mounting /data/project/cache...
May 17 01:09:44 hn systemd[1]: Mounted /data/project/cache.
--- reboot issued ---
May 17 01:21:25 hn systemd-fstab-generator[14467]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:30 hn systemd-fstab-generator[14758]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:31 hn systemd-fstab-generator[14783]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15701]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15724]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:22:46 hn systemd[1]: Unmounting /data/project/cache...
May 17 01:22:46 hn umount[18509]: umount: /data/project/cache: target is busy.
May 17 01:22:46 hn systemd[1]: data-project-cache.mount: Mount process exited, code=exited status=32
May 17 01:22:46 hn systemd[1]: Failed unmounting /data/project/cache.
Ubuntu 18.04
ubuntu mount nginx reboot
add a comment |
I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system.
It's fstab line is the following:
/data/project/cache.img /data/project/cache ext4 discard,defaults,nofail 0 2
My problem that it cannot be unmounted cleanly at system restart. If I manually stop the nginx service and manually unmount it, then there are no problems, but automatically it generates the following journalctl logs:
May 17 01:09:44 hn systemd-fstab-generator[334]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:09:44 hn systemd[1]: Mounting /data/project/cache...
May 17 01:09:44 hn systemd[1]: Mounted /data/project/cache.
--- reboot issued ---
May 17 01:21:25 hn systemd-fstab-generator[14467]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:30 hn systemd-fstab-generator[14758]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:31 hn systemd-fstab-generator[14783]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15701]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15724]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:22:46 hn systemd[1]: Unmounting /data/project/cache...
May 17 01:22:46 hn umount[18509]: umount: /data/project/cache: target is busy.
May 17 01:22:46 hn systemd[1]: data-project-cache.mount: Mount process exited, code=exited status=32
May 17 01:22:46 hn systemd[1]: Failed unmounting /data/project/cache.
Ubuntu 18.04
ubuntu mount nginx reboot
add a comment |
I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system.
It's fstab line is the following:
/data/project/cache.img /data/project/cache ext4 discard,defaults,nofail 0 2
My problem that it cannot be unmounted cleanly at system restart. If I manually stop the nginx service and manually unmount it, then there are no problems, but automatically it generates the following journalctl logs:
May 17 01:09:44 hn systemd-fstab-generator[334]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:09:44 hn systemd[1]: Mounting /data/project/cache...
May 17 01:09:44 hn systemd[1]: Mounted /data/project/cache.
--- reboot issued ---
May 17 01:21:25 hn systemd-fstab-generator[14467]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:30 hn systemd-fstab-generator[14758]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:31 hn systemd-fstab-generator[14783]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15701]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15724]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:22:46 hn systemd[1]: Unmounting /data/project/cache...
May 17 01:22:46 hn umount[18509]: umount: /data/project/cache: target is busy.
May 17 01:22:46 hn systemd[1]: data-project-cache.mount: Mount process exited, code=exited status=32
May 17 01:22:46 hn systemd[1]: Failed unmounting /data/project/cache.
Ubuntu 18.04
ubuntu mount nginx reboot
I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system.
It's fstab line is the following:
/data/project/cache.img /data/project/cache ext4 discard,defaults,nofail 0 2
My problem that it cannot be unmounted cleanly at system restart. If I manually stop the nginx service and manually unmount it, then there are no problems, but automatically it generates the following journalctl logs:
May 17 01:09:44 hn systemd-fstab-generator[334]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:09:44 hn systemd[1]: Mounting /data/project/cache...
May 17 01:09:44 hn systemd[1]: Mounted /data/project/cache.
--- reboot issued ---
May 17 01:21:25 hn systemd-fstab-generator[14467]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:30 hn systemd-fstab-generator[14758]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:31 hn systemd-fstab-generator[14783]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15701]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:21:33 hn systemd-fstab-generator[15724]: Checking was requested for "/data/project/cache.img", but it is not a device.
May 17 01:22:46 hn systemd[1]: Unmounting /data/project/cache...
May 17 01:22:46 hn umount[18509]: umount: /data/project/cache: target is busy.
May 17 01:22:46 hn systemd[1]: data-project-cache.mount: Mount process exited, code=exited status=32
May 17 01:22:46 hn systemd[1]: Failed unmounting /data/project/cache.
Ubuntu 18.04
ubuntu mount nginx reboot
ubuntu mount nginx reboot
asked 46 mins ago
hyperknothyperknot
10115
10115
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
});
}
});
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%2f519401%2fdirty-unmount-of-nginx-cache-dir-on-reboot%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
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%2f519401%2fdirty-unmount-of-nginx-cache-dir-on-reboot%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