LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is wrong with the swap (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-wrong-with-the-swap-240032/)

adarsh_fj 10-07-2004 08:32 PM

what is wrong with the swap
 
hi there I have a problem with my pc When ever I boot my Pc the space allocated for the swap partition is 0. I tried swapon -a and the space for the partition is allocated but when I reboot the same problem is there.

320mb 10-07-2004 08:34 PM

is the swap partition listed in
/etc/fstab

??

adarsh_fj 10-07-2004 08:41 PM

yes the file name is in the etc/fstab file

michaelk 10-07-2004 08:43 PM

I would think that swapon -a would fail if there wasn't an entry in the fstab file.

Post your fstab file

Check the output of dmesg pertaining to swap?
dmesg | grep swap

You might glance at the entire output too.

adarsh_fj 10-07-2004 09:27 PM

do u think mounting the partion will do what commands will work

michaelk 10-07-2004 09:43 PM

You can not mount a swap partiton like a regular filesystem.
And what about my previous questions.

adarsh_fj 10-07-2004 10:50 PM

I tried ur solution but it just shows me starting and nothing happens This is my first question so Iam prety new to the site please give me some time to get the hang of it.


All times are GMT -5. The time now is 12:45 PM.