1SYSTEMD-PSTORE(8)               systemd-pstore               SYSTEMD-PSTORE(8)
2
3
4

NAME

6       systemd-pstore, systemd-pstore.service - Tool to archive contents of
7       the persistent storage filesytem
8

SYNOPSIS

10       /usr/lib/systemd/systemd-pstore
11
12       systemd-pstore.service
13

DESCRIPTION

15       systemd-pstore.service is a system service that archives the contents
16       of the Linux persistent storage filesystem, pstore, to other storage,
17       thus preserving the existing information contained in the pstore, and
18       clearing pstore storage for future error events.
19
20       Linux provides a persistent storage file system, pstore, that can store
21       error records when the kernel dies (or reboots or powers-off). These
22       records in turn can be referenced to debug kernel problems (currently
23       the kernel stuffs the tail of the dmesg, which also contains a stack
24       backtrace, into pstore).
25
26       The pstore file system supports a variety of backends that map onto
27       persistent storage, such as the ACPI ERST and UEFI variables. The
28       pstore backends typically offer a relatively small amount of persistent
29       storage, e.g. 64KiB, which can quickly fill up and thus prevent
30       subsequent kernel crashes from recording errors. Thus there is a need
31       to monitor and extract the pstore contents so that future kernel
32       problems can also record information in the pstore.
33
34       The pstore service is independent of the kdump service. In cloud
35       environments specifically, host and guest filesystems are on remote
36       filesystems (eg. iSCSI or NFS), thus kdump relies [implicitly and/or
37       explicitly] upon proper operation of networking software *and* hardware
38       *and* infrastructure. Thus it may not be possible to capture a kernel
39       coredump to a file since writes over the network may not be possible.
40
41       The pstore backend, on the other hand, is completely local and provides
42       a path to store error records which will survive a reboot and aid in
43       post-mortem debugging.
44
45       The systemd-pstore executable does the actual work. Upon starting, the
46       pstore.conf is read to obtain options, then the /sys/fs/pstore
47       directory contents are processed according to the options. Pstore files
48       are written to the journal, and optionally saved into
49       /var/lib/systemd/pstore.
50

CONFIGURATION

52       The behavior of systemd-pstore is configured through the configuration
53       file /etc/systemd/pstore.conf and corresponding snippets
54       /etc/systemd/pstore.conf.d/*.conf, see pstore.conf(5).
55
56   Disabling pstore processing
57       To disable pstore processing by systemd-pstore, set
58
59           Storage=none
60
61       in pstore.conf(5).
62

USAGE

64       Data stored in the journal can be viewed with journalctl(1) as usual.
65

SEE ALSO

67       pstore.conf(5)
68
69
70
71systemd 243                                                  SYSTEMD-PSTORE(8)
Impressum