Re: [Vserver] Enlarge /tmp partition

From: Oliver Welter <mail_at_oliwel.de>
Date: Wed 13 Dec 2006 - 21:21:06 GMT
Message-ID: <45806EC2.5070905@oliwel.de>

Hi Alejandro,

> LibClamAV Error: wrote 0 instead of 512
> (/tmp/clamav-67ea3a8be7a9faa9/main.ndb)
> cli_untgz: no space left on device
>
> In my /etc/vservers/virtual1/fstab I have this line related to /tmp:
>
> none /tmp tmpfs size=16m, mode 1777 0 0
>

The /tmp is a memory based filesystem in that xase - this means it is
entirely kept in the machines RAM. You have 16M what is too small for
clamav - you can enlarge the size by just puttingthe wanted number in
the parameter "size=XXXm" (you must restart the vserver afterwards).

Note that this will consume RAM ressources, if you have plenty of them,
thats okm otherwise you should map /tmp to a new partition or, if you
dont have one left, drop the mointpoint and put it on the /var partiion
with a symlink ("ln -s /var/_tmp /tmp")

Oliver

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

Received on Wed Dec 13 21:27:29 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Dec 2006 - 21:27:39 GMT by hypermail 2.1.8