Can be the journal path on a filesystem other than /?2019 Community Moderator ElectionMake all files under a directory read-only without changing permissions?Unable to change permissions of file system rootHow to get access to the root journal for systemd?Why is my systemd journal not persistent across reboots?Funny message when changing ownership of top directory in a mounted file systemgunicorn: logfile directory owner being reset on reboot?create “virtual directory” with mounted devicetmpfs /run fullMounting a 4tb lvm in Centos 7 keeps saying not enough space on devicechange the name of the journal files in /var/log/journal/remote coming from /var/log/journal/upload

How to balance a monster modification (zombie)?

What (if any) is the reason to buy in small local stores?

Would it be believable to defy demographics in a story?

Print a physical multiplication table

Why are there no stars visible in cislunar space?

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Why does Surtur say that Thor is Asgard's doom?

Would this string work as string?

Help with identifying unique aircraft over NE Pennsylvania

How to find the largest number(s) in a list of elements, possibly non-unique?

The English Debate

Nested Dynamic SOQL Query

Have any astronauts/cosmonauts died in space?

Why I don't get the wanted width of tcbox?

How old is Nick Fury?

PTIJ: Which Dr. Seuss books should one obtain?

Unfrosted light bulb

Turning a hard to access nut?

Fair way to split coins

If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?

How do you justify more code being written by following clean code practices?

Does fire aspect on a sword, destroy mob drops?

How do researchers send unsolicited emails asking for feedback on their works?

How can I create URL shortcuts/redirects for task/diff IDs in Phabricator?



Can be the journal path on a filesystem other than /?



2019 Community Moderator ElectionMake all files under a directory read-only without changing permissions?Unable to change permissions of file system rootHow to get access to the root journal for systemd?Why is my systemd journal not persistent across reboots?Funny message when changing ownership of top directory in a mounted file systemgunicorn: logfile directory owner being reset on reboot?create “virtual directory” with mounted devicetmpfs /run fullMounting a 4tb lvm in Centos 7 keeps saying not enough space on devicechange the name of the journal files in /var/log/journal/remote coming from /var/log/journal/upload










0















I would like to store the default journal directory /var/log/journal/ on a mounted device, but I am not sure if I can do it due to the fact that journal is an important service which may already run before any device is mounted which would lead to the fact that suddenly the directly changes.



Is it safe/possible to store the journal directory on a mounted device and if yes, how to do it, if a simple mounting doesn't work.



Directory listing from the journal entries:



2019-03-18 22:16:41 root@AAEB-APP206LY:/var/log/journal/d41cf15550e34487abe7103b61fbf794 => ll
total 792M
drwxr-sr-x 1 root systemd-journal 884 Mar 12 06:35 ./
drwxr-sr-x 1 root systemd-journal 64 Feb 26 18:17 ../
-rw-r----- 1 root systemd-journal 96M Mar 18 22:16 system.journal
-rw-r----- 1 root root 120M Feb 26 18:17 system@d5301574c947425cb992f7839ae52cdb-0000000000000001-0005827c7effc14d.journal
-rw-r----- 1 root systemd-journal 96M Mar 5 12:29 system@d5301574c947425cb992f7839ae52cdb-0000000000051acb-000582cf3a7ba719.journal
-rw-r----- 1 root systemd-journal 96M Mar 12 06:35 system@d5301574c947425cb992f7839ae52cdb-00000000000872b4-000583572e31154d.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 18 22:16 user-5000.journal
-rw-r-----+ 1 root root 128M Mar 5 12:29 user-5000@cf6acecdf28e48c790173a36447ec2e7-0000000000051ad9-000582cf3d435013.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 12 06:35 user-5000@cf6acecdf28e48c790173a36447ec2e7-00000000000872b9-000583572e312040.journal



As you can see it is occupying almost 800 MB and this fills up the main partition. Therefore the idea to store it on a different filesystem.










share|improve this question
























  • You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

    – JdeBP
    10 hours ago











  • @JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

    – Al Bundy
    8 hours ago











  • Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

    – Luciano Andress Martini
    5 hours ago












  • @LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

    – Al Bundy
    5 hours ago















0















I would like to store the default journal directory /var/log/journal/ on a mounted device, but I am not sure if I can do it due to the fact that journal is an important service which may already run before any device is mounted which would lead to the fact that suddenly the directly changes.



Is it safe/possible to store the journal directory on a mounted device and if yes, how to do it, if a simple mounting doesn't work.



Directory listing from the journal entries:



2019-03-18 22:16:41 root@AAEB-APP206LY:/var/log/journal/d41cf15550e34487abe7103b61fbf794 => ll
total 792M
drwxr-sr-x 1 root systemd-journal 884 Mar 12 06:35 ./
drwxr-sr-x 1 root systemd-journal 64 Feb 26 18:17 ../
-rw-r----- 1 root systemd-journal 96M Mar 18 22:16 system.journal
-rw-r----- 1 root root 120M Feb 26 18:17 system@d5301574c947425cb992f7839ae52cdb-0000000000000001-0005827c7effc14d.journal
-rw-r----- 1 root systemd-journal 96M Mar 5 12:29 system@d5301574c947425cb992f7839ae52cdb-0000000000051acb-000582cf3a7ba719.journal
-rw-r----- 1 root systemd-journal 96M Mar 12 06:35 system@d5301574c947425cb992f7839ae52cdb-00000000000872b4-000583572e31154d.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 18 22:16 user-5000.journal
-rw-r-----+ 1 root root 128M Mar 5 12:29 user-5000@cf6acecdf28e48c790173a36447ec2e7-0000000000051ad9-000582cf3d435013.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 12 06:35 user-5000@cf6acecdf28e48c790173a36447ec2e7-00000000000872b9-000583572e312040.journal



As you can see it is occupying almost 800 MB and this fills up the main partition. Therefore the idea to store it on a different filesystem.










share|improve this question
























  • You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

    – JdeBP
    10 hours ago











  • @JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

    – Al Bundy
    8 hours ago











  • Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

    – Luciano Andress Martini
    5 hours ago












  • @LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

    – Al Bundy
    5 hours ago













0












0








0








I would like to store the default journal directory /var/log/journal/ on a mounted device, but I am not sure if I can do it due to the fact that journal is an important service which may already run before any device is mounted which would lead to the fact that suddenly the directly changes.



Is it safe/possible to store the journal directory on a mounted device and if yes, how to do it, if a simple mounting doesn't work.



Directory listing from the journal entries:



2019-03-18 22:16:41 root@AAEB-APP206LY:/var/log/journal/d41cf15550e34487abe7103b61fbf794 => ll
total 792M
drwxr-sr-x 1 root systemd-journal 884 Mar 12 06:35 ./
drwxr-sr-x 1 root systemd-journal 64 Feb 26 18:17 ../
-rw-r----- 1 root systemd-journal 96M Mar 18 22:16 system.journal
-rw-r----- 1 root root 120M Feb 26 18:17 system@d5301574c947425cb992f7839ae52cdb-0000000000000001-0005827c7effc14d.journal
-rw-r----- 1 root systemd-journal 96M Mar 5 12:29 system@d5301574c947425cb992f7839ae52cdb-0000000000051acb-000582cf3a7ba719.journal
-rw-r----- 1 root systemd-journal 96M Mar 12 06:35 system@d5301574c947425cb992f7839ae52cdb-00000000000872b4-000583572e31154d.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 18 22:16 user-5000.journal
-rw-r-----+ 1 root root 128M Mar 5 12:29 user-5000@cf6acecdf28e48c790173a36447ec2e7-0000000000051ad9-000582cf3d435013.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 12 06:35 user-5000@cf6acecdf28e48c790173a36447ec2e7-00000000000872b9-000583572e312040.journal



As you can see it is occupying almost 800 MB and this fills up the main partition. Therefore the idea to store it on a different filesystem.










share|improve this question
















I would like to store the default journal directory /var/log/journal/ on a mounted device, but I am not sure if I can do it due to the fact that journal is an important service which may already run before any device is mounted which would lead to the fact that suddenly the directly changes.



Is it safe/possible to store the journal directory on a mounted device and if yes, how to do it, if a simple mounting doesn't work.



Directory listing from the journal entries:



2019-03-18 22:16:41 root@AAEB-APP206LY:/var/log/journal/d41cf15550e34487abe7103b61fbf794 => ll
total 792M
drwxr-sr-x 1 root systemd-journal 884 Mar 12 06:35 ./
drwxr-sr-x 1 root systemd-journal 64 Feb 26 18:17 ../
-rw-r----- 1 root systemd-journal 96M Mar 18 22:16 system.journal
-rw-r----- 1 root root 120M Feb 26 18:17 system@d5301574c947425cb992f7839ae52cdb-0000000000000001-0005827c7effc14d.journal
-rw-r----- 1 root systemd-journal 96M Mar 5 12:29 system@d5301574c947425cb992f7839ae52cdb-0000000000051acb-000582cf3a7ba719.journal
-rw-r----- 1 root systemd-journal 96M Mar 12 06:35 system@d5301574c947425cb992f7839ae52cdb-00000000000872b4-000583572e31154d.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 18 22:16 user-5000.journal
-rw-r-----+ 1 root root 128M Mar 5 12:29 user-5000@cf6acecdf28e48c790173a36447ec2e7-0000000000051ad9-000582cf3d435013.journal
-rw-r-----+ 1 root systemd-journal 128M Mar 12 06:35 user-5000@cf6acecdf28e48c790173a36447ec2e7-00000000000872b9-000583572e312040.journal



As you can see it is occupying almost 800 MB and this fills up the main partition. Therefore the idea to store it on a different filesystem.







mount logs systemd-journald






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago







Al Bundy

















asked 11 hours ago









Al BundyAl Bundy

4222522




4222522












  • You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

    – JdeBP
    10 hours ago











  • @JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

    – Al Bundy
    8 hours ago











  • Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

    – Luciano Andress Martini
    5 hours ago












  • @LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

    – Al Bundy
    5 hours ago

















  • You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

    – JdeBP
    10 hours ago











  • @JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

    – Al Bundy
    8 hours ago











  • Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

    – Luciano Andress Martini
    5 hours ago












  • @LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

    – Al Bundy
    5 hours ago
















You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

– JdeBP
10 hours ago





You do not mean "on a mounted device". After all, all such filesystems are mounted, even the / filesystem. You mean "on some filesystem other than my / filesystem".

– JdeBP
10 hours ago













@JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

– Al Bundy
8 hours ago





@JdeBP Yes, reading your comment I realize I described it wrong. You are right. I mean this. Does it change anything and you could answer my question?

– Al Bundy
8 hours ago













Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

– Luciano Andress Martini
5 hours ago






Are journal stored in inodes not in folders? I am a bit confused. Is this ext4?

– Luciano Andress Martini
5 hours ago














@LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

– Al Bundy
5 hours ago





@LucianoAndressMartini I updated my question with a directory listing how it looks now. I hope it helps.

– Al Bundy
5 hours ago










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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506998%2fcan-be-the-journal-path-on-a-filesystem-other-than%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















draft saved

draft discarded
















































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%2f506998%2fcan-be-the-journal-path-on-a-filesystem-other-than%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

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.