mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "ashridah" <ashridah@pobox.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: mount /dev/hdb2 /usr; swapon /dev/hdb2  keeps flooding
Date: 12 May 2001 21:17:57 EST	[thread overview]
Message-ID: <E14ylSK-0000dO-00@mycrondo> (raw)
In-Reply-To: <Pine.A41.4.31.0105130055400.19270-100000@pandora.inf.elte.hu>
In-Reply-To: <Pine.A41.4.31.0105130055400.19270-100000@pandora.inf.elte.hu>


On Sun, 13 May 2001 01:00:39 +0200 (CEST), BERECZ Szabolcs said:

> Hi!
>  
>  root@kama3:/home/szabi# cat /proc/mounts
>  ...
>  /dev/hdb2 /usr ext2 rw 0 0
>  ...
>  root@kama3:/home/szabi# swapon /dev/hdb2
[snip]

hmm. while the technical issues of this situation are fairly interesting,
can i make a suggestion? if you're running out of swap every now and 
then, perhaps you need to use swapd (a userspace daemon, that adds
more swap from swapfiles as you need it, and recovers the space when
things become less pressing). that's much better than trying it by hand
when necessary. As you've noticed, we're all only human, and mistakes
can be made.

swapd: http://cvs.linux.hr/swapd/

as a side bonus, you get to keep that partition as a filesystem, and also
dedicate it to being the swapfile holder.

while this is a solution i'd never go in for (userspace is slightly more
fallible
than i like (which doesn't stop me from using devfsd) given the situation
swapd needs to act in), but it's better than doing it by hand, no?

Andrew 'ashridah' Pilley

>  do you need any other information?
>  
>  Bye,
>  Szabi
>  
>  -
>  To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>  the body of a message to majordomo@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>  Please read the FAQ at  http://www.tux.org/lkml/
>  


      parent reply	other threads:[~2001-05-13  2:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-12 23:00 BERECZ Szabolcs
2001-05-12 23:23 ` Alexander Viro
2001-05-12 23:32   ` Alan Cox
2001-05-12 23:42     ` Alexander Viro
2001-05-13 13:04       ` Jesse Pollard
2001-05-13  0:00     ` Guest section DW
2001-05-12 23:33   ` BERECZ Szabolcs
2001-05-12 23:39     ` Alexander Viro
2001-05-12 23:54       ` BERECZ Szabolcs
2001-05-13 14:21       ` Gerhard Mack
2001-05-13 16:23       ` Alan Cox
2001-05-14  9:29     ` 2.2.19 and RAID levels Riccardo Facchetti
2001-05-14  9:30       ` Alan Cox
2001-05-12 23:25 ` mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding Matthew Dharm
2001-05-12 23:42   ` BERECZ Szabolcs
2001-05-13  2:17 ` ashridah [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E14ylSK-0000dO-00@mycrondo \
    --to=ashridah@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®