[ale] How to change the size of Var folder?

Jim Popovitch jimpop at yahoo.com
Mon Apr 9 12:35:42 EDT 2001


Son,

I have to agree that Joseph's idea is a lot less painful than the
alternative.  If you still want to change the actual partitions we can
give it a try, but defining the steps through email will be difficult.

-Jim P.

--- Nguyen Son <ducson at wingfu.com> wrote:
> Thanks Joseph for your helps
> 
> Really like your small procedure
> 
> Best Regards
> 
> Son
> ----- Original Message -----
> From: "Joseph A. Knapka" <jknapka at earthlink.net>
> To: "Nguyen Son" <ducson at wingfu.com>
> Cc: <ale at ale.org>
> Sent: Monday, April 09, 2001 12:59 PM
> Subject: Re: [ale] How to change the size of Var folder?
> 
> 
> > Nguyen Son wrote:
> > >
> > > > You could, however -- strictly as a temporary hack -- copy
> > > > /var to a directory on a larger partition (say, /usr/new_var),
> > > > remove the /var directory (dangerous - probably best to be
> > > > in single-user mode for that), and then link /var to
> > > > /usr/new_var. The danger, of course, is that whatever is
> > > > filling up your /var partition now has the opportunity to
> > > > fill up /usr instead.
> > >
> > > There are couple of big log files and i have emptied them all.
> > > Can you show me how to link /var to /new_var.
> > > I don't worry too much about fill up /usr as its size about
> 1249000 k
> > > available
> > > and /var has only 220000 k available
> >
> > Unless the machine in question is a server, 200MB for /var should
> > be more than enough. If it is filling up often, something
> > is wrong (most likely there is some misconfigured software running
> > on your system). And if /var is filling up every day, then
> > /usr will fill up in five or six days given the partition sizes
> > you mentioned above.
> >
> > Anyway, here's the procedure I use to do this kind of thing:
> >
> > % cp -a /var /usr/new_var
> > # Reboot your machine in single-user mode. This is somewhat
> > # distribution-dependent, I think.
> > % umount /var   # May fail, don't worry about it.
> > % rmdir /var
> > % ln -s /usr/new_var /var
> >
> > Again, let me emphasize that I don't recommend that you do this!
> >
> > > It would be nice if I can control which thing should be logged,
> as most
> of
> > > the thing in log files as mailer-daemon mail which i don't think
> that it
> > > needs to log
> >
> > I'm sure that kind of thing is controllable, but I have not
> configured
> > any mail daemon in a long time, so I can't tell you how to do it.
> >
> > Good luck,
> >
> > -- Joe
> >
> > > TIA
> > >
> > > Son
> > >
> > > --
> > > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
> message
> body.
> >
> > -- Joe Knapka
> > "It was just a maddened crocodile hidden in a flower bed. It could
> >  have happened to anyone." -- Pratchett
> > // Linux MM Documentation in progress:
> > // http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
> > * Evolution is an "unproven theory" in the same sense that gravity
> is. *
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
> message
> body.
> >
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
> message body.


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list