Swap problems

Swap problems

Post by Michael Zeringu » Fri, 02 Jul 1999 04:00:00



I recently did a full install of RH6.0 after removing RH5.2 (wanted to
try a different disk arrangement).  After installing during the boot
sequence I received two error messages from swapon - that the
permissions for /dev/hdb10 were insecure and that /dev/hdb10 did not
exist.

At first I thought that the two messages were linked, now I do not think
so.  I took swapon's suggestion and changed the permissions of
/deb/hdb10 to 0600 and that fixed the insecure permissions problem.  But
swapon still believes that /dev/hdb10 does not exist.    I am certain
that it does - I created it during install, and fdisk lists it just
fine.  I have tried manually running (as root) swapon both as:

swapon -a
and
swapon /dev/hdb10

in my /etc/fstab it has the line:

/dev/hdb10 none swap  exec,dev,suid,rw 0 0

From what I understand about the fstab file, this looks right.

I am at a lose to see why swapon does not believe /dev/hdb10 exists.
Any suggestions?

Thanks,
Michael

 
 
 

Swap problems

Post by D.S.DeWit » Sat, 03 Jul 1999 04:00:00


Well Michael,
Your problem was not quite like mine.  My swap partition problem has gotten
to the point that, no any fdisk program could read the partition table (BUT
win98 and Linux did run).  My solution was to reinstall the EZ-drive, which
meant to change the cmos setting on the drive. After that I remove EZ-drive,
set the cmos back with LBA turn on (make sure the cylinder limitation jumper
is removed).  Install win 95 then booted from a rescue disk set up the
partition table.  Then finally did the linux install in expert mode( this
mode really did not seam any different than custom).  Well all seams well,
tonight I get to config everything else, maybe install the scsi card and
sound card sitting in the corner.

Good luck everyone,
David


Quote:> I recently did a full install of RH6.0 after removing RH5.2 (wanted to
> try a different disk arrangement).  After installing during the boot
> sequence I received two error messages from swapon - that the
> permissions for /dev/hdb10 were insecure and that /dev/hdb10 did not
> exist.

> At first I thought that the two messages were linked, now I do not think
> so.  I took swapon's suggestion and changed the permissions of
> /deb/hdb10 to 0600 and that fixed the insecure permissions problem.  But
> swapon still believes that /dev/hdb10 does not exist.    I am certain
> that it does - I created it during install, and fdisk lists it just
> fine.  I have tried manually running (as root) swapon both as:

> swapon -a
> and
> swapon /dev/hdb10

> in my /etc/fstab it has the line:

> /dev/hdb10 none swap  exec,dev,suid,rw 0 0

> From what I understand about the fstab file, this looks right.

> I am at a lose to see why swapon does not believe /dev/hdb10 exists.
> Any suggestions?

> Thanks,
> Michael


 
 
 

1. SWAP PROBLEM: Swap not being used...

I didn't find any information on this particular problem, so I thought I'd post.

* The Problem: Linux doesn't seem to be using the swap partition.

-----------------------------------------------------------------------------

* The Particulars:

- I have 16MB of physical RAM and I am running kernel 1.1.59

- I have my drive split into two Linux partitions: one main (/dev/hda1)
and one  
  swap (/dev/hda2).

- My /etc/fstab entry reads:

/dev/hda1        /        ext2        defaults
/dev/hda2        swap     swap        defaults
none             /proc    proc        defaults

- My /etc/mtab entry reads:

/dev/hda1 / ext2 rw 0 0
none /proc proc rw 0 0

- My rc.M includes this:

/sbin/swapon -a /dev/hda2

- But the result of "cat /proc/meminfo" is always something like this:

        total:   used:    free:   shared:  buffers:
Mem:  15880192 15372288   507904  3448832 11206656
Swap: 14446592        0 14446592

-----------------------------------------------------------------------------

Is the system not taxed enough to require use of the swap space or did I
do something wrong?

Please let me know if I need to provide more information.  Any help would
be greatly appreciated (even a point to an FAQ or HOWTO that specifically
answers this)!  I read this group regularly so a reply would be fine (and
possibly of help to others, too).

Many thanks in advance!!!

-- Matthew

________________________________________________________________

 Matthew Fifer                      Multi-Media Learning Center
                                    Northwestern University


                                    708.491.4820
________________________________________________________________

2. telnet 540 fails immediately on password

3. NFS problem and swapping problem

4. Boot device selection during install????????????

5. mount problem, swap problem

6. Where do I put those lines? (Freesco)

7. Swap problems

8. ext2: what is revision 1?

9. S3 Video Chipset/Swapping Problems

10. swap problems

11. HOT SWAP PROBLEM using hp4100 server series

12. Disk Druid and Swap problems on install of Redhat

13. A swap problem