You are not logged in.

#1 2014-02-20 01:27:02

rexineffect
Member
Registered: 2014-02-16
Posts: 48

[SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

GParted 0.17.0
mkswap from util-linux 2.24.1

unsupported swap version '1' from gparted information about my swap partition

It shows up as a little warning flag in gparted and I can right click > information to see the error on my swap partition


I have tried.

rex@localhost ~ :( $ sudo mkswap -L swap -U 7301f639-f674-460e-9db1-d708b7d2149b /dev/sda6
mkswap: /dev/sda6: warning: wiping old swap signature.
Setting up swapspace version 1, size = 2097148 KiB
LABEL=swap, UUID=7301f639-f674-460e-9db1-d708b7d2149b

Last edited by rexineffect (2014-02-22 09:23:22)

Offline

#2 2014-02-20 05:54:45

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Which versions does parted support?  Can you mkswap as that version?  I'm not sure as I use a swap file rather than a partition.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2014-02-20 05:58:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

@loafer, there is only one swap version of relevance these days.  According to the man page, version one has been supported since 1998 and version 0 support was removed from the kernel in 2002.

Offline

#4 2014-02-20 06:07:21

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Yes always RTFM before posting!

It could be this:
http://www.spinics.net/lists/util-linux … 08867.html

Last edited by jasonwryan (2014-02-20 07:16:49)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2014-02-20 07:06:37

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

@loafer,
If you are posting an actual link, you don't need to do anything.  But putting code tags around it will make it not clickable. 

Otherwise you could use url tags to make any string of text a clickable link.  So your link would become (use the quote button to see how this is done):

It could be this.


Edit: After having looked at the link, that does look like it could be of significance to your quest here...

Last edited by WonderWoofy (2014-02-20 07:07:48)

Offline

#6 2014-02-20 23:29:40

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Yea I went through the manual and see that swap version 1 since 1998 also. after that I assumed it couldn't be my gparted version or really anything else being outdated.

Also I seen this forum post you guys gave me the link to, I just didn't  see it as significant and I don't get why there are no images or any other posts on it. I will try to go through it and find something I just don't get why it isn't like a regular forum. I even tried just going to the main website www.spinics.com but there are no images or anything their either.

Offline

#7 2014-02-21 10:03:52

kerolasa
Member
From: London, UK
Registered: 2014-02-21
Posts: 6
Website

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Offline

#8 2014-02-21 11:57:34

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

This may be a silly question, but have you used the "# swapon /dev/sda6" command to activate the swap partition?

Offline

#9 2014-02-21 12:40:05

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

kerolasa wrote:

Yea that looks like a fix, I can't figure out what is that and how do I do it. Sorry if this is stupid question but I just don't know.

Can you tell me what is that code he is changing?

Offline

#10 2014-02-21 13:41:52

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

rexineffect wrote:
kerolasa wrote:

Yea that looks like a fix, I can't figure out what is that and how do I do it. Sorry if this is stupid question but I just don't know.

Can you tell me what is that code he is changing?

The swaplabel command checks if the version is supported. That check contained a bug however; the check was done against version != 2; but it should have been version != 1. That has been fixed in the referenced commit. That fix has been commited 5 days ago; so you'll need to wait for a new util-linux package to be released which contains the fix. Until that happens you can ignore the error

Last edited by Spider.007 (2014-02-22 15:10:39)

Offline

#11 2014-02-22 09:23:04

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Thanks!

Offline

#12 2014-04-21 17:58:18

igorka
Member
Registered: 2012-06-27
Posts: 4

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Still not fixed?

Offline

#13 2014-04-23 17:45:02

kaslusimoes
Member
Registered: 2013-12-19
Posts: 51

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Probably not because I'm also getting this error

Offline

#14 2014-04-24 08:16:23

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Please stop kicking this thread. It has been fixed; but there isn't a new package available which includes this fix.
It is only useful to kick this thread when 2.24.2 is released and it still doesn't work

Offline

#15 2014-04-24 15:30:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]swaplabel: /dev/sda6: unsupported swap version '1'

Spider.007 wrote:

Please stop kicking this thread. It has been fixed; but there isn't a new package available which includes this fix.
It is only useful to kick this thread when 2.24.2 is released and it still doesn't work

Indeed.  But util-linux 2.24.2-1 has just hit [testing], so either people should try that or be patient while it makes its way to [core].

Offline

Board footer

Powered by FluxBB