Comment 5 for bug 1078165

Revision history for this message
Lenin (gagarin) wrote :

I have 40 core machines, but I only get /dev/zram0 .. 25 used.

# lsb_release -d
Description: Ubuntu 18.04.1 LTS

# systemctl --all --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
Ï zram-config.service loaded failed failed Initializes zram swaping

# systemctl status zram-config.service
Ï zram-config.service - Initializes zram swaping
   Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-12-19 14:07:29 CET; 3s ago
  Process: 41212 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255)
 Main PID: 41212 (code=exited, status=255)

Dec 19 14:07:29 host init-zram-swapping[41212]: no label, UUID=49e2e5a0-af6f-46e9-9cff-4df9be04acc5
Dec 19 14:07:29 host init-zram-swapping[41212]: swapon: /dev/zram38: swapon failed: Operation not permitted
Dec 19 14:07:29 host init-zram-swapping[41212]: sh: echo: I/O error
Dec 19 14:07:29 host init-zram-swapping[41212]: mkswap: /dev/zram39: warning: wiping old swap signature.
Dec 19 14:07:29 host init-zram-swapping[41212]: Setting up swapspace version 1, size = 400.8 MiB (420233216 byte
Dec 19 14:07:29 host init-zram-swapping[41212]: no label, UUID=e6b6cd37-8036-4466-a98d-df3e15af5626
Dec 19 14:07:29 host init-zram-swapping[41212]: swapon: /dev/zram39: swapon failed: Operation not permitted
Dec 19 14:07:29 host systemd[1]: zram-config.service: Main process exited, code=exited, status=255/n/a
Dec 19 14:07:29 host systemd[1]: zram-config.service: Failed with result 'exit-code'.
Dec 19 14:07:29 host systemd[1]: Failed to start Initializes zram swaping.