* Are redfish event logs persistent across reboot?
@ 2021-06-17 3:22 Udupa.Ashwini ISV
2021-06-22 0:49 ` Bills, Jason M
0 siblings, 1 reply; 2+ messages in thread
From: Udupa.Ashwini ISV @ 2021-06-17 3:22 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
Hi,
Are redfish event logs(/var/log/redfish) persistent across reboot?
Currently, I see that old logs are lost after reboot and /var/log/redfish is newly written.
Is this the current design?
Regards,
Ashwini
[-- Attachment #2: Type: text/html, Size: 1969 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Are redfish event logs persistent across reboot?
2021-06-17 3:22 Are redfish event logs persistent across reboot? Udupa.Ashwini ISV
@ 2021-06-22 0:49 ` Bills, Jason M
0 siblings, 0 replies; 2+ messages in thread
From: Bills, Jason M @ 2021-06-22 0:49 UTC (permalink / raw)
To: openbmc
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-22 0:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 3:22 Are redfish event logs persistent across reboot? Udupa.Ashwini ISV
2021-06-22 0:49 ` Bills, Jason M
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.