Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jun 2005 19:37:17 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        doug@polands.org (Doug Poland)
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, ptitoliv <ptitoliv@frenchsuballiance.cjb.net>, freebsd-questions@freebsd.org
Subject:   Re: Resizing /var
Message-ID:  <200506112337.j5BNbH81005298@clunix.cl.msu.edu>
In-Reply-To: <42AAF4C5.3090802@polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Giorgos Keramidas wrote:
> > On 2005-06-11 15:43, ptitoliv <ptitoliv@frenchsuballiance.cjb.net> wrote:
> > 
> >>I have a big problem on a FreeBSD 5.3 Box. It is an hosted server
> >>installed by an hosting service. But I didn't know what they smoke when
> >>they have installed the system but they sized the /var filesystem only
> >>to 200 MB which is not sufficient for my needs.
> >>
> >>I used an emergency solution which was to transfer some datas on /usr
> >>like databases but I am afraid that the problem will come back. So I am
> >>asking here if there is any solution to transfer free space from ./usr
> >>to /var.
> >>
> >>But there are some constraints :
> >>
> >>- I have no free unpartitioned space available
> >>- I can't format any partition because and I can't loose datas
> >>
> >>Is there any solution with some BSD tools in order to solve this problem ?
> > 
> > 
> > None that I know of.  Your best bet is, I guess, to find somewhere
> > enough space for a backup, repartition & restore session.
> > 
> Doesn't it make sense to simply move selectetd directories to a 
> partition with free space and create symlinks?  I would think moving 
> /var/db and /var/log would suffice for most situations.

That makes a lot of sense.   In fact it is probably the best way to go.

There are numerous posts (some by me) in the archive that tell how
to do it step by step.

////jerry

> 
> -- 
> Regards,
> Doug
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506112337.j5BNbH81005298>