LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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 02:44 PM.
 
Old 10-17-2006, 03:36 PM   #2
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: 15
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, 05:25 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,050

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
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, 07:35 AM   #4
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Original Poster
Rep: Reputation: 36
crashsystems, syg00,

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


Reply

Tags
fstab, swap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:53 AM
problem with swap entry in /etc/fstab? kpachopoulos Linux - General 1 10-26-2005 05:19 PM
About fstab and swap research2004 Linux - Newbie 2 02-19-2004 06:10 AM
swap-space fstab problem MarkGraham Linux - Newbie 3 12-06-2002 12:23 PM
swap-space fstab problem MarkGraham Linux - Newbie 0 12-05-2002 08:06 PM


All times are GMT -5. The time now is 08:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration