OMV with 'Flashspeicher-Plugin' / "Flashstorage-Plugin" can't go to hibernate

  • English:
    Hello, ich have installed OMV 3 on a SLC USB Stick, so i have installed the "Flashspeicher-Pluging" / "Flashstorage-Plugin". As in the description of the plugin i've set a # before the swap partition in the fstab, Butnow, if i try to shut down to hibernate i got a error message PM: cannot find swap device, try swapon -a and PM: cannot get swap writer.
    When i set the fstab in original state the hibernate status is working.
    So is there a way to get the hibernate state and the flashspeicher-plugin to work together?


    German:
    Hi, ich habe OMV auf einem SLC USB Stick installiert. Um den etwas zu schonen habe ich das Flashspeicher-Plugin installiert und wie dort beschrieben in der Datei fstab die swap - Partition auskommentiert. Aber wenn ich jetzt in den Ruhezustand wechseln will bekomme ich folgende Fehlermeldung:
    PM: cannot find swap device, try swapon -a
    PM: cannot get swap writer.
    Wenn ich die Auskommentierung rückgängig mache funktioniert der Ruhezustand wieder, aber so wird wohl mein Stick nicht lange überleben oder? - Also gibt es eine Möglichkeit den Ruhezustand und das Flashspeicher - Plugin gemeinsam hinzubekommen?

    • Offizieller Beitrag

    When i set the fstab in original state the hibernate status is working.

    What are you changing?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • According to the description of the flash memory plugin you should make some changes to the file etc/fstab.


    In my case i changed some lines from:


    Code
    UUID=1489525c-9235-4603-b8b4-69d562d6d71e /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=6251d436-eb1f-457b-bda6-62c4868485f9 none            swap    sw              0       0



    to



    Code
    UUID=1489525c-9235-4603-b8b4-69d562d6d71e /               ext4    noatime,nodiratime,errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    # UUID=6251d436-eb1f-457b-bda6-62c4868485f9 none            swap    sw              0       0


    With the new setting i fail to set my pc into hibernate with the error
    PM: cannot find swap device, try swapon -a
    PM: cannot get swap writer.


    if i undo the changes in line 3 hibernate is ok

    • Offizieller Beitrag

    Don't disable swap. This step really is optional and as you have already found, is incompatible with hibernate. If your system has enough memory, it won't use swap anyway (for anything other than hibernate).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    So the flash-memory plugin will work correctly without disabling swap?

    The plugin doesn't care or know if swap is disabled. Disabling swap is just a suggestion to reduce writes on the SD card.


    I have 4GB Ram installed, is that enough?

    Probably but it really depends on what you do with the system.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!