unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: 33537@debbugs.gnu.org
Subject: bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument
Date: Wed, 28 Nov 2018 08:24:21 +0100 (CET)	[thread overview]
Message-ID: <LSOC4IN--3-1@tutanota.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]

Guix is not possible to start swap device/dev/sda2. I noticed this:

# 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...

# cat /etc/config.scm
...
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))
  (file-systems (cons (file-system
                        (device "/dev/sda1") (mount-point "/") (type "ext4"))
                      %base-file-systems))
  (swap-devices '("/dev/sda2"))

  (users (cons* (user-account (name "bob") (group "users")......

I've read manual and I do not know what is wrong:
https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=1c6c0ad067b558fcbebd87e8cb51d342d808163e#n6878 <https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=1c6c0ad067b558fcbebd87e8cb51d342d808163e#n6878>


# free -m
              total        used        free      shared  buff/cache   available
Mem:           1880        1187          44         181         649         701
Swap:             0           0           0


Swap really did not worked ever in my Guix installation. Let me know what ought to be done?

[-- Attachment #2: Type: text/html, Size: 2944 bytes --]

             reply	other threads:[~2018-11-28  7:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28  7:24 znavko [this message]
2018-11-28  7:30 ` bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument 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 ` bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument Ludovic Courtès

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=LSOC4IN--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=33537@debbugs.gnu.org \
    /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).