All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bills, Jason M" <jason.m.bills@linux.intel.com>
To: openbmc@lists.ozlabs.org
Subject: Re: Are redfish event logs persistent across reboot?
Date: Mon, 21 Jun 2021 18:49:28 -0600	[thread overview]
Message-ID: <106950ac-8977-a84b-3178-577e519f62c2@linux.intel.com> (raw)
In-Reply-To: <SG2PR02MB2796FB3D6D6A8C7E7E478878850E9@SG2PR02MB2796.apcprd02.prod.outlook.com>



On 6/16/2021 9:22 PM, Udupa.Ashwini ISV wrote:
> Hi,
> 
> Are redfish event logs(/var/log/redfish) persistent across reboot?
This depends on how your filesystem is mounted.

We used to directly mount /var to our non-volatile flash partitions but 
because of another feature requirement we now mount /var as an overlay 
on /tmp:
https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init#L76

Then we have another service that periodically rsyncs the /tmp overlay 
into the non-volatile flash partition to persist the redfish logs:
https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-common/recipes-core/nv-sync/nv-sync/nv-syncd
> 
> Currently, I see that old logs are lost after reboot and 
> /var/log/redfish is newly written.
> 
> Is this the current design?
> 
> Regards,
> 
> Ashwini
> 

      reply	other threads:[~2021-06-22  0:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17  3:22 Are redfish event logs persistent across reboot? Udupa.Ashwini ISV
2021-06-22  0:49 ` Bills, Jason M [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=106950ac-8977-a84b-3178-577e519f62c2@linux.intel.com \
    --to=jason.m.bills@linux.intel.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.