[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Root partition fills up under heavy load..



At 7:36 PM -0400 7/16/01, Michael is rumored to have typed:

> THANK YOU!!!
>
<snip>
> [root /root]# cd /usr/admserv/html/.cobalt/report/
> [root report]# mkdir /home/webdata
> [root report]# mv web.cache /home/webdata
> [root report]# mv web.cache.new /home/webdata
> [root report]# mv web.cache.stats /home/webdata
> mv: web.cache.stats: No such file or directory
> [root report]# ln -s /home/webdata/web.cache web.cache
> [root report]# ln -s /home/webdata/web.cache.new web.cache.new

   Question: couldn't one just:

mkdir /home/webdata
cd /usr/admserv/html/.cobalt/report/
mv * /home/webdata/
cd ..
rm -r ./reports
ln -s /home/webdata/ ./reports

   That way, if you created a new virtual domain, the .dat files would
automagically be created on /home/webdata, instead of needing to delete and
create new symlinks? That would also get out of that directory the mail.cache
and the other junk piling up in there, wouldn't it?

   (I know it would work on a linux box...I'm getting gunshy about equating
the "real world" to the Cobalts, though...  ;)

         Charlie