unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument
@ 2018-11-28  7:24 znavko
  2018-11-28  7:30 ` znavko
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: znavko @ 2018-11-28  7:24 UTC (permalink / raw)
  To: 33537

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-28 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument Ludovic Courtès

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