From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 00:54:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2BDF16A41C for ; Mon, 13 Jun 2005 00:54:21 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao05.coxmail.com (lakecmmtao05.coxmail.com [68.99.120.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 478BE43D4C for ; Mon, 13 Jun 2005 00:54:21 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao05.coxmail.com (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050613005421.JNJU11183.lakecmmtao05.coxmail.com@dns1>; Sun, 12 Jun 2005 20:54:21 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Sun, 12 Jun 2005 17:49:45 -0700 User-Agent: KMail/1.8 References: <200506112337.j5BNbH81005298@clunix.cl.msu.edu> In-Reply-To: <200506112337.j5BNbH81005298@clunix.cl.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506121749.46284.vizion@vizion.occoxmail.com> Cc: Giorgos Keramidas , Jerry McAllister , ptitoliv Subject: Re: Resizing /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 00:54:21 -0000 On Saturday 11 June 2005 16:37, the author Jerry McAllister contributed to the dialogue on- Re: Resizing /var: >> Giorgos Keramidas wrote: >> > On 2005-06-11 15:43, ptitoliv 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. > Be careful though because some applications get thrown by symlinks - Orbit is very touchy with symlinks as I found out to my cost. Before doing anything I recomend to do a tar cvf of /var so you can fully restore it. 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May/June bound for Europe via Panama Canal.