Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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...

  3. #3
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205

    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?
    Stumbling around the 'net:
    www.cloudyuseful.com

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •