My "swap" space seems to have vanished....

Rick Stevens ricks at nerd.com
Fri Mar 18 16:27:40 UTC 2011


On 03/18/2011 06:46 AM, DB wrote:
> Hi All,
>
> Just gone wild&  updated my system to a 64 bit monster, installed F14
> without problem....
>
> BUT....
>
> When I look at SystemManager, it lists that there is no swap space&  no
> swap space available...
>
> I remember setting Swap in an extended partition, then df tells me:
>
>    df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda2             28833848   5518600  23022388  20% /
> tmpfs                  1899484      1068   1898416   1% /dev/shm
> /dev/sda1               474440     50462    399481  12% /boot
> /dev/sda3            288370940  26611056 247111416  10% /home
>
> Fdisk gives me:
>
> sudo fdisk -l
> [sudo] password for Dave:
>
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000b4b1d
>
>      Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *          63      979964      489951   83  Linux
> /dev/sda2          979965    59569019    29294527+  83  Linux
> /dev/sda3        59569020   645507764   292969372+  83  Linux
> /dev/sda4       645507765  1953520064   654006150    5  Extended
> /dev/sda5       645507828   647098199      795186   82  Linux swap / Solaris
>
>
> Which seems to me to suggest that the swap partition exists.
>
> Anyone got any thoughts on how to get the swap recognised??
>
> As ever, great thanks to you all for your help and support!

swap isn't a mounted filesystem in the classic sense and won't show up
in a df or du.  You can use "swapon -s" to see swap usage.  It also
shows up as an aggregate in "free" or "top".
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   "Do you suffer from long-term memory loss?"  "I don't remember"  -
-                            -- Chumbawumba, "Amnesia" (TubThumping) -
----------------------------------------------------------------------


More information about the users mailing list