You are not logged in.

#1 2011-09-23 05:32:19

Compulsed
Member
Registered: 2011-08-24
Posts: 44

[SOLVED] I don't think my swap partition is being mounted?

My top command never indicates any of the swap being used, could it be because I don't use over a gig of ram?

Swap:  2048280k total,        0k used,  2048280k free,   380392k cached

and when I booted my machine I once saw it saying swap mount - Failed
not entirely sure now  as it doesn't mention it.

Here is my fstab

tmpfs                                           /tmp                                    tmpfs   nodev,nosuid                            0       0
UUID=01f2ea1e-7166-4081-949b-9df766c80ae9       /                                       ext4    defaults                                0       1
UUID=81478b57-9b58-4d2f-a814-30461720b6e0       /home                                   ext4    defaults                                0       1
UUID=84e46ff4-dd90-483d-a4a3-dda3b48c17de       /boot                                   ext2    defaults                                0       1
#UUID=bf2f66e9-fcdc-4698-82b1-05249f2ee999       swap                                   swap    defaults                                0       0
/dev/sda2                                    swap             swap        defaults      0   0
UUID=86C05EF4C05EEA47                           /home/dalesalter/Desktop/Storage        ntfs-3g gid=users,fmask=113,dmask=002           0       0
UUID=303361C774412966                           /home/dalesalter/Desktop/Windows        ntfs-3g gid=users,fmask=113,dmask=002           0       0

and my fdisk

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      208844      104391   83  Linux
/dev/sda2          208845     4305419     2048287+  82  Linux swap / Solaris
/dev/sda3         4305420    65754044    30724312+  83  Linux
/dev/sda4        65754045   488392064   211319010   83  Linux

Thanks in advance!

Last edited by Compulsed (2011-10-05 14:15:52)

Offline

#2 2011-09-23 05:49:11

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] I don't think my swap partition is being mounted?

Moving to Kernel & Hardware.

And what's in /proc/swaps?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-09-23 06:03:49

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: [SOLVED] I don't think my swap partition is being mounted?

#Filename                                Type            Size    Used    Priority
/dev/sda2                               partition       2048280 0       -1

Is it possible that it might be mounted it's just not using it? But then again anything I do and it still doesn't go up.

Offline

#4 2011-09-23 06:06:34

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] I don't think my swap partition is being mounted?

Have you tried filling your RAM?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2011-09-23 06:10:20

benob
Member
Registered: 2008-11-11
Posts: 187

Re: [SOLVED] I don't think my swap partition is being mounted?

Easy way to fill your memory:

perl -e 'while(1){push @a,++$i}'

Offline

#6 2011-09-23 06:11:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] I don't think my swap partition is being mounted?

What does free say?

ewaller@odin:~ 1001 %free
             total       used       free     shared    buffers     cached
Mem:       3961932    2518136    1443796          0     290204    1197880
-/+ buffers/cache:    1030052    2931880
Swap:      4000148        104    4000044
ewaller@odin:~ 1002 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2011-09-23 06:14:28

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: [SOLVED] I don't think my swap partition is being mounted?

             total       used       free     shared    buffers     cached
Mem:       2065084    1912428     152656          0      72596     996912
-/+ buffers/cache:     842920    1222164
Swap:      2048280          0    2048280

I'll fill my ram in a moment.

Offline

#8 2011-09-23 06:18:45

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: [SOLVED] I don't think my swap partition is being mounted?

 Swap:  2048280k total,   242656k used,  1805624k free,    61308k cached

Flooding my ram worked, thanks smile
Also thanks for the script.

Sorry for the time spent on something that wasn't a problem.

Offline

Board footer

Powered by FluxBB