LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2006, 01:43 PM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
fstab and swap question


I'm trying to install swap space, and am editing fstab. I've got everything right (I think) but those last two numbers. My entry for my swap space looks like this:

/dev/hdb2 none swap swap 0 0

Is this right? If I type 'swapon - s' as root I get a table that says:

Filename Type Size Used Priority
/dev/hdb2 partition 522104 0 -1

I look at the 'used' and 'priority' columns and I wonder if I'm doing the right thing. Any help in this matter would be apreciated.

Last edited by radiodee1; 10-17-2006 at 01:44 PM.
 
Old 10-17-2006, 02:36 PM   #2
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: Disabled
try the following:
Code:
/dev/hdb2 none swap defaults 0 0
and see if that works. With this, you'll be selecting the default options for this fs. Tell me how it goes.

crashsystems
 
Old 10-17-2006, 04:25 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Everything is fine.
People complain when they find swap being used, others worry when it's not.

The priority is merely used to determine the order of selection for swapout - where multiple swap extents exist. Not relevant here.
Can be specified in fstab if you really want to.
 
Old 10-18-2006, 06:35 AM   #4
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
crashsystems, syg00,

Thanks. I'll try the change in fstab. Thanks again.
 
  


Reply

Tags
fstab, swap



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab and swap space hosed up lsu420luv Linux - Hardware 2 08-13-2006 01:53 AM
problem with swap entry in /etc/fstab? kpachopoulos Linux - General 1 10-26-2005 04:19 PM
About fstab and swap research2004 Linux - Newbie 2 02-19-2004 05:10 AM
swap-space fstab problem MarkGraham Linux - Newbie 3 12-06-2002 11:23 AM
swap-space fstab problem MarkGraham Linux - Newbie 0 12-05-2002 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration