[linux-lvm] LILO configuration for LVM "boot" filesystem
mjt at tls.msk.ru
Mon Jun 11 00:20:38 UTC 2001
Mark van Walraven wrote:
> On Fri, Jun 08, 2001 at 03:30:36PM +0200, Jens Benecke wrote:
> > On Fri, Jun 08, 2001 at 01:08:24AM +0400, Michael Tokarev wrote:
> > > Another thing to consider if you run 2.4 kernel -- mount tmpfs on /tmp
> > > (and give some reasonable size restrictions). This way, /tmp works much
> > > faster, does not need to be cleaned on boot, and will not eat root's
> > > space. You should have reasonable swap space it you plan to use it
> > > heavily. Works very well here.
> > tmpfs? I thought that existed only on Solaris, and the primary reason for
> > tmpfs is that Solaris's UFS is so ssllooww compared to other FS (e.g.
> > ext2, reiser, etc.)
> It's in Linux 2.4 also. It has the same unfortunate problem as on Solaris,
> that once someone fills /tmp, you run out swap and daemons start dying.
Hey, do not allow users to fill it up! ;) There is a mount option for
tmpfs on linux that allows you to specify max size of a filesystem to
About tmpfs and a "real" filesystems. No, ufs isn't so slow on solaris,
it is comparable with ext2, and faster sometimes (and slow other times),
it is hard to say which is better (I prefer ufs on solaris, as it is
more reliable with almost the same speed). But with any real on-disk fs,
it is impossible to skip writing to disk (as fs designed to store data,
not to loose it), while tmpfs shurely can skip writing if there is
enouth memory, or with short files (ext2 will update directory at least,
maybe batching that update for many files, but it will not eliminate
update if a file will be created and deleted shortly).
BTW, this started to be offtopic... ;)
More information about the linux-lvm