{
    "mode": "man",
    "parameter": "systemd-pstore",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-pstore/8/json",
    "generated": "2026-05-30T10:08:32Z",
    "synopsis": "/lib/systemd/systemd-pstore\nsystemd-pstore.service",
    "sections": {
        "NAME": {
            "content": "systemd-pstore.service, systemd-pstore - A service to archive contents of pstore\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/lib/systemd/systemd-pstore\n\nsystemd-pstore.service\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-pstore.service is a system service that archives the contents of the Linux persistent\nstorage filesystem, pstore, to other storage, thus preserving the existing information\ncontained in the pstore, and clearing pstore storage for future error events.\n\nLinux provides a persistent storage file system, pstore, that can store error records when\nthe kernel dies (or reboots or powers-off). These records in turn can be referenced to debug\nkernel problems (currently the kernel stores the tail of the kernel log, which also contains\na stack backtrace, into pstore).\n\nThe pstore file system supports a variety of backends that map onto persistent storage, such\nas the ACPI ERST and UEFI variables. The pstore backends typically offer a relatively small\namount of persistent storage, e.g. 64KiB, which can quickly fill up and thus prevent\nsubsequent kernel crashes from recording errors. Thus there is a need to monitor and extract\nthe pstore contents so that future kernel problems can also record information in the pstore.\n\nThe pstore service is independent of the kdump service. In cloud environments specifically,\nhost and guest filesystems are on remote filesystems (e.g. iSCSI or NFS), thus kdump relies\n(implicitly and/or explicitly) upon proper operation of networking software *and* hardware\n*and* infrastructure. Thus it may not be possible to capture a kernel coredump to a file\nsince writes over the network may not be possible.\n\nThe pstore backend, on the other hand, is completely local and provides a path to store error\nrecords which will survive a reboot and aid in post-mortem debugging.\n\nThe systemd-pstore executable does the actual work. Upon starting, the pstore.conf file is\nread and the /sys/fs/pstore/ directory contents are processed according to the options.\nPstore files are written to the journal, and optionally saved into /var/lib/systemd/pstore/.\n",
            "subsections": []
        },
        "CONFIGURATION": {
            "content": "The behavior of systemd-pstore is configured through the configuration file\n/etc/systemd/pstore.conf and corresponding snippets /etc/systemd/pstore.conf.d/*.conf, see\npstore.conf(5).\n",
            "subsections": [
                {
                    "name": "Disabling pstore processing",
                    "content": "To disable pstore processing by systemd-pstore, set\n\nStorage=none\n\nin pstore.conf(5).\n"
                },
                {
                    "name": "Kernel parameters",
                    "content": "The kernel has two parameters, /sys/module/kernel/parameters/crashkexecpostnotifiers and\n/sys/module/printk/parameters/alwayskmsgdump, that control writes into pstore. The first\nenables storing of the kernel log (including stack trace) into pstore upon a panic or crash,\nand the second enables storing of the kernel log upon a normal shutdown (shutdown, reboot,\nhalt). These parameters can be managed via the tmpfiles.d(5) mechanism, specifically the file\n/usr/lib/tmpfiles/systemd-pstore.conf.\n"
                }
            ]
        },
        "USAGE": {
            "content": "Data stored in the journal can be viewed with journalctl(1) as usual.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pstore.conf(5)\n\n\n\nsystemd 249                                                                SYSTEMD-PSTORE.SERVICE(8)",
            "subsections": []
        }
    },
    "summary": "systemd-pstore.service, systemd-pstore - A service to archive contents of pstore",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pstore.conf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pstore.conf/5/json"
        },
        {
            "name": "SYSTEMD-PSTORE.SERVICE",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-PSTORE.SERVICE/8/json"
        }
    ]
}