vizion at vizion.occoxmail.com
Mon Jun 13 00:54:21 GMT 2005
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 <ptitoliv at 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.
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
More information about the freebsd-questions