Personal tools
You are here: Home Forum XEN Virtual Servers (Xen VPS) Swap problem (vpsvillage)
Document Actions

Swap problem (vpsvillage)

Up to XEN Virtual Servers (Xen VPS)

Swap problem (vpsvillage)

Posted by Raphael Nadeau at March 12. 2008

Hello guys,




I have a huge problem since my swap partition is gone.  It seems to have disapeared sunday march 9 2008.  I really have no idea what happened.  I logged in on monday night and my vps server was rebooted (showed an uptime of less than 48 hours) and the swap partition was gone. Here is what happens when I do a few commands:


ccool@vps:~$ free
             total       used       free     shared    buffers     cached
Mem:         65676      58332       7344          0        748      13908
-/+ buffers/cache:      43676      22000
Swap:            0          0          0


ccool@vps:~$ cat /proc/swaps
ccool@vps:~$


vps:/home/ccool# swapon -a
swapon: cannot stat /dev/sda2: Aucun fichier ou r�pertoire de ce type


"sorry for the french language"  but basically there is nothing there.  I submitted a ticket yesterday and I google a bit to try to find some answers, but I did'nt find anything.  I remembered to have read something about this in the old vpsvillage forum, but I cannot find it anymore.  If anyone has this problem, I would appreciate your help a lot.



Best Regards

Re: Swap problem (vpsvillage)

Posted by Raphael Nadeau at March 13. 2008

Hello




I really don't know where to turn too.  This is annoying, because I ask a friend who has a vps at vpsvillage too and he told me that he lost his swap partition too.  I'm pretty sure this is a big problem that a lot of people must be having, but I cannot find any information on the subject.  Even if this cannot be solved now, I would very much like to know someone is working on the problem...  As for now, I am not getting any info via the ticket system nor from this forum.  Where else can I get help ???



Regards

Re: Swap problem (vpsvillage)

Posted by Hezekiah M. Carty at March 29. 2008

If this has not been fixed yet - I had a similar problem with my account and had to contact support.  There was some sort of configuration change that had not propagated properly.


Support should be able to give you the help you need.  Best of luck!


Re: Swap problem (vpsvillage)

Posted by Eric Windisch at March 29. 2008


Wow, people on the forums.  Great, lets keep this up.  Since its been dead for a while, I got lazy with checking for new posts.   I believe we answered your question via a ticket already, but for others...


There is a knowledge base article on this

https://tickets.grokthis.net/RTFM/Article/Display.html?id=28




As of now, though it could be subject to change, the article contains:



If your swap is not working, you may try the following command to attempt restoring the functionality of the swap partition.


wget -O - ftp://ftp.grokthis.net/pub/misc/patches/swapfix.sh | sh


It should be noted that as of Debian Etch 4.0, there is a known race
condition which may result in the swap not being activated on boot. The
above script provides a workaround for this. This issue has been filed
as debian bug #464418.


If after running this command, your swap is still not active, please contact support.




Re: Swap problem (vpsvillage)

Posted by Aaron Gyes at September 06. 2008
I think that swapfix.sh script is supposed to have MAKEDEV sda2, not MAKEDEV sda.
Powered by Ploneboard
Syndication
« November 2008 »
Su Mo Tu We Th Fr Sa
1
23456 78
9101112131415
16171819202122
23242526272829
30
Log in


Forgot your password?
New user?
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: