[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap not enabled?



# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
UUID=63503a74-6e77-4623-bcea-9574740d3298       /               ext3    defaults
,errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/sda1       /media/usb0     auto    rw,user,noauto  0       0
/dev/sda5       /media/usb1     auto    rw,user,noauto  0       0
UUID=a50446ca-dcb2-4988-a19f-3dc9967e1449      /disk2           ext3    defaults
,errors=remount-ro 0       2

I get nothing when i do a swapon -s

I know why I belive.  I have two disks attached to my NSLU2.  The main
disk in port 1 usually gets /dev/sda so the root partion would be
/dev/sda5  When I boot with just 1 disk attached i get the swap
partion like I should.  When the second disk is attached it seems like
I dont get the swap partion.  I think the main disk gets mounted
sometimes as /dev/sdb.  I have the two main disk partions being
mounted by UUID but I dont seem to have a UUID that I can find for the
swap.

On 6/24/07, David Fokkema <dfokkema@ileos.nl> wrote:
On Sun, 2007-06-24 at 10:15 -0400, Aaron Klein wrote:
> How can I tell if my system will use the swap space?  Im running out
> of ram and my system really starts to crawl and I never see anything
> used as far as swap using the top command.
>

Just do `swapon -s`. That will tell you if you use a swap partition and
how much of it is used.

David


> --
> Have pets?  Get the help you need from the Pet Advice Network.
> We have 6 websites ready to help you.  http://www.petadvice.net
>
>


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Have pets?  Get the help you need from the Pet Advice Network.
We have 6 websites ready to help you.  http://www.petadvice.net



Reply to: