Re: [Vserver] guest fstab syntax

From: Corey Wright <undefined_at_pobox.com>
Date: Fri 07 Apr 2006 - 14:04:02 BST
Message-Id: <20060407080402.28889361.undefined@pobox.com>

On Fri, 07 Apr 2006 14:11:27 +0300
Nikolay Kichukov <hijacker@oldum.net> wrote:

> in /etc/vservers/vn/fstab:2:1: I have:
>
> none /tmp tmpfs size=16m,mode=1777 0 0
>
> So, if I did not enable the tmpfs file system in the kernel, is there
> any other option I can mount the /tmp in the guest?

yes, you can remove that line and let /tmp be on the same filesystem as / (within the guest).

http://list.linux-vserver.org/archive/vserver/msg12288.html

i have a large number of vservers (one for each externally accessible application; i use vserver like an industrial chroot) and didn't like the fact that for some applications a 16 MB /tmp was insufficient and for some applications /tmp went complete unused. using tmpfs was a problem in the first situation and non-beneficial in the second, so i got rid of its use.

for short-lived files they might be held (cached) in RAM anyways. even if not, prioritized i/o should keep one application from slowing the system down too much by using/abusing /tmp (being stored on disk, as compared to much faster RAM).

that's what i did and my reasoning, and it's worked for me.

corey

-- 
undefined@pobox.com
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Apr 7 14:04:28 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 07 Apr 2006 - 14:04:31 BST by hypermail 2.1.8