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

Re: Fat slug available? WAS: Re: Swap not enabled?



Yeah, I had considered that.
I owe Marc Singer a few bootloader experiments (I haven't forgotten,
just been a bit busy and not wanting to take it off line)
When that's complete I'll decide it's fate, i.e. do I want to sell it
or have I a role for another little server!

Steve

David Fokkema wrote:
On Sun, 2007-06-24 at 21:07 +0100, Steve Gane wrote:
  
I've just decommissioned my fatslug in favour of an N2100.
    

You might want to sell it to John Fieldsend, ;-)

John, still there?

  
But what I did on my slug was this:
Use the "-L" option of mkswap, like:
mkswap -L Swap /dev/whatever
Then mount it by label. My fstab had this:
LABEL=Swap  none swap sw 0 0
    

Yes, that's what the wiki says!

  
Steve



David Fokkema wrote: 
    
On Sun, 2007-06-24 at 15:46 -0400, Aaron Klein wrote:
  
      
# /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
    
        
Then you don't have swap!

  
      
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.
    
        
I think your right. So what's the UUID of a swap partition? Good
question. However, I think there was another thread (something to do
with RAID) which also had this kind of problem. You could search the
list for something like 'UUID'.

Maybe someone knows the correct solution by heart?

David


  
      
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: