[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid
From: |
Ludovic Courtès |
Subject: |
bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument |
Date: |
Wed, 28 Nov 2018 14:27:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
<address@hidden> skribis:
> # guix system reconfigure /etc/config.scm
> ...
> guix system: error: exception caught while executing 'start' on service
> 'swap-/dev/sda2':
> In procedure swapon: "/dev/sda2": Invalid argument...
According to swapon(2), there are 3 conditions that can lead to this
error:
EINVAL The file path exists, but refers neither to a regular file nor
to a
block device;
EINVAL (swapon()) The indicated path does not contain a valid swap
signature
or resides on an in-memory filesystem such as tmpfs(5).
EINVAL (since Linux 3.4)
(swapon()) An invalid flag value was specified in flags.
Did you run “mkswap /dev/sda2” beforehand?
Thanks,
Ludo’.
bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument, znavko, 2018/11/28
bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument,
Ludovic Courtès <=