Re: [Vserver] /tmp too small

2006-01-30 Thread Michael S. Zick
On Mon January 30 2006 09:05, Eugen Leitl wrote:
> 
> My vserver looks like this:
> v64:/# df -k
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/hdv1 97627508  49680728  47946780  51% /
> none 16384 0 16384   0% /tmp
> 
> I would like to increase /tmp
> 
> Any suggestions very welcome.
> 
Two choices...

It looks like it is on /dev/shm - if you want to keep it there,
increase the size in fstab mount line.

If on hard disk, put it on a larger partition.

- - - - 

A note on the /dev/shm and VServers -

You may have individual (per VServer) /dev/shm or a pooled 
/dev/shm -

If you mount -o bind the host's /dev/shm on the VServer mount
point, your VServer and Host will use a single pool (Yea) BUT
the files will have the persistence of the host.  I.E: The entries
will survive guest restarts (Might have to clean them out yourself).

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] /tmp too small

2006-01-30 Thread Gilles
Hello.

> 
> My vserver looks like this:
> v64:/# df -k
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/hdv1 97627508  49680728  47946780  51% /
> none 16384 0 16384   0% /tmp
> 
> I would like to increase /tmp
> 

Change the value of the 'size' options in '/etc/vservers/v64/fstab'.


Best,
Gilles
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] /tmp too small

2006-01-30 Thread eyck
> My vserver looks like this:
> v64:/# df -k
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/hdv1 97627508  49680728  47946780  51% /
> none 16384 0 16384   0% /tmp
> 
> I would like to increase /tmp
 Look at your /etc/vservers/$GUESTNAME/fstab:
you'll notice this:
"none /tmp tmpfs size=16m,mode=1777 0 0 "
either remove this line (and restart your vserver, and live with /tmp
living on your normal partition), or increase this 16m to something more
manageable, like 256M or sth.
(remember that this lives in your ram+swap area)
-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] /tmp too small

2006-01-30 Thread Eugen Leitl

My vserver looks like this:
v64:/# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hdv1 97627508  49680728  47946780  51% /
none 16384 0 16384   0% /tmp

I would like to increase /tmp

Any suggestions very welcome.

-- 
Eugen* Leitl http://leitl.org";>leitl http://leitl.org
__
ICBM: 48.07100, 11.36820http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE


signature.asc
Description: Digital signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver