AnswerBun.com

Systemd-journald disk wear-out

Stack Overflow Asked by Rohit on July 29, 2020

I’m trying to incorporate journald into a platform running a Yocto based image. The board has eMMC flash storage which can wear out with too frequent writes but I want the logs to be persistent.

Right now with syslog, it logs to tmpfs and then uses logrotate to compress them and saves them to peristent storage once the logs grow past a certain size. However, this makes querying them more difficult.

I don’t see a way to configure journald to log to tmpfs and rotate to the eMMC flash. The journald rotating simply deletes the logs that’re older than a certain size.

Any help or guidance would be appreciated and I’m happy to provide any additional information.

Thanks,
Rohit

Add your own answers!

Related Questions

Is clang-11’s invocation of headers via -fcoroutines flag?

0  Asked on January 18, 2021 by jerry-ajay

       

Operational Error connecting to SQL Server through Python3.7

1  Asked on January 18, 2021 by christopher-ell

     

Logo is not changing

1  Asked on January 18, 2021 by paul-ocarde

 

Android rdate exception

0  Asked on January 18, 2021 by elior-cohen

 

list assignment index out of range in a list array

3  Asked on January 18, 2021 by marc833

 

std::transform over QMap

1  Asked on January 18, 2021 by vencat

     

Loop inside the function that accepts the parameter

1  Asked on January 18, 2021 by abi-wardani

     

RegEx Print a Custom Line

1  Asked on January 18, 2021 by user9938830

   

What is localhost 3000?

3  Asked on January 18, 2021 by dawit-mesfin

   

a (recursive) function that will calculate sum for a given n

2  Asked on January 17, 2021 by randomobject123

     

C – can’t prepend a linked list

2  Asked on January 17, 2021 by ilmoi

     

R: count distinct IDs where selected column is non-null

4  Asked on January 17, 2021 by austin-gilbert

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP