From: ludo@gnu.org (Ludovic Courtès)
To: znavko@tutanota.com
Cc: 33537@debbugs.gnu.org
Subject: bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument
Date: Wed, 28 Nov 2018 14:27:32 +0100 [thread overview]
Message-ID: <87mupt49iz.fsf@gnu.org> (raw)
In-Reply-To: <LSOC4IN--3-1@tutanota.com> (znavko's message of "Wed, 28 Nov 2018 08:24:21 +0100 (CET)")
Hi,
<znavko@tutanota.com> 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’.
prev parent reply other threads:[~2018-11-28 13:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 7:24 bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument znavko
2018-11-28 7:30 ` znavko
[not found] ` <handler.33537.B.154339029831885.ack@debbugs.gnu.org>
2018-11-28 7:34 ` bug#33537: Acknowledgement (guix system error: In procedure swapon: "/dev/sda2": Invalid argument) znavko
2018-11-28 8:01 ` Julien Lepiller
2018-11-28 9:27 ` znavko
2018-11-28 13:28 ` Ludovic Courtès
2018-11-28 13:27 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mupt49iz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=33537@debbugs.gnu.org \
--cc=znavko@tutanota.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).