Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Yoper Linux Help > Problem with loading swap partition, etc

Forgot Password?
 Yoper Linux Help   Officially recognised support forum for Yoper Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-20-2005   #1 (permalink)
Linux Newbie
 
Join Date: Aug 2005
Location: South India, 79 E 11 N
Posts: 109
Problem with loading swap partition, etc

I think my system is running without swap.

When I hit mount, I get:
Code:
rootfs on / type rootfs (rw)
/dev/root on / type reiserfs (rw,noatime)
/proc on /proc type proc (rw,nodiratime)
/sys on /sys type sysfs (rw)
/dev/hda7 on /home type reiserfs (rw,noatime)
/dev/hdb1 on /mnt/bridge type vfat (rw,nodiratime,nosuid,nodev,noexec,fmask=0033,dmask=0033)
none on /dev/pts type devpts (rw)
/dev/cdrom on /mnt/cdrom type supermount (ro,dev=/dev/cdrom,fs=iso9660,tray_lock=onwrite,--,iocharset=iso8859-1)
/dev/scd0 on /mnt/cdwriter type supermount (ro,dev=/dev/scd0,fs=iso9660,tray_lock=onwrite,--,iocharset=iso8859-1)
usbfs on /proc/bus/usb type usbfs (rw)
I tried loading swap (my swap-formatted partition is at the third primary partition of my first IDE HDD and hence /dev/hda3, I presume. But I get:
Code:
root@yos vasudevan # mount -t swap /dev/hda3 swap
mount: mount point swap does not exist
The relevant contents of my /etc/fstab:
Code:
/dev/hda4      /                reiserfs   notail,noatime                        1 1 
/dev/hda7      /home            reiserfs   notail,noatime                        1 2 
/dev/hda3      swap             swap       defaults                              0 0
IIRC even during bootup I get an error on this fstab entry.

Please advise. Thanks.
__________________
Be happy. Life is too short to be unhappy!
drtvasudevan is offline  


Reply With Quote
Old 08-20-2005   #2 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,058
Your swap file won't be mounted unless it's needed by the system, so if you have a lot of RAM, the swap partition will likely never be called up.

I have 1-gig of RAM and the swap file has never been used. Some users don't bother to install a swap partition at all. I have a 512meg swap file, but again, it's never used.

HTH...
ozar is offline   Reply With Quote
Old 08-20-2005   #3 (permalink)
Linux Engineer
 
psic's Avatar
 
Join Date: Nov 2004
Location: Ljubljana, Slovenia
Posts: 1,163
Re: Problem with loading swap partition, etc

Quote:
Originally Posted by drtvasudevan
IIRC even during bootup I get an error on this fstab entry.
What's the error?
psic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:45 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2