You are not logged in.
Hi
I cannot mount my swap partition! It stopped working some time ago (I don't know when exactly, I just saw this now).
When I try to mount it manually, I receive this error message: "Unknown filesystem type 'swap'".
Here is my fstab (I'm synchronized with the stable repo):
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=1137358e-63f7-4d63-a98a-34d03ac5be0b /boot ext2 defaults,noatime 0 1
UUID=1ce2a0be-3cb7-45f1-aef9-83214ceb3d6a swap swap defaults
UUID=8e33d82d-b7bb-4ea4-aa58-99806a705328 /home reiserfs defaults,noatime 0 1
UUID=954fcd95-c5cc-452d-bd1c-efb8b76aeb22 / reiserfs defaults,noatime 0 1
Thanks in advance.
Last edited by Kknd (2008-08-04 15:19:00)
Offline
Linux does not permit mounting swap...only filesystems are mounted with the mount command.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
What does the output of `free -m` show you in the "Swap" row?
You 'mount' swap by using the `swapon` command. Have a look at the man page to find out more
man swapon
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Ahhhhhh.
Thanks.
Last edited by Kknd (2008-08-04 02:55:08)
Offline
Can you update the original post to have [SOLVED] in the subject please if you're happy that it's solved?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Actually, I still can't solve it. The problem is that the swap partition isn't activated by default, ie, swapon -a doesn't work.
I've tried editing my fstab, without success (man fstab doesn't gives much inf about this).
Offline
Can you post the output of `free -m` please?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
My swap broke after I unsuccessfuly tried to hibernate so I run mkswap /dev/sdaX for x being my swap partition. And then swapon -a and it works. However I don't know whether the disk UID changes after making a new swap file system.(I got rid of BY-UID things in my configs since /dev/sdaX is so much easier to read.)
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
You are using the UUID to mount the partition, have you tried using the /dev/sd? entry to mount the drive instead?
My fstab entry for swap reads the following:
/dev/sdc3 swap swap defaults
Offline
Thanks for the suggestion, it worked.
I was strange, because it was working before!
Offline
Wow even I accidentally disabled swap somehow and I tried everything, but it would not work ( http://bbs.archlinux.org/viewtopic.php?id=52252 ) . But, changing the line in fstab worked like a charm. Thanks!
(Maybe this is some sort of a bug? )
Offline