Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 23:16:20 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        <dan_mclean@mlc.com.au>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: i-node problems
Message-ID:  <005701c11663$a73dc0a0$1401a8c0@tedm.placo.com>
In-Reply-To: <OFAFD3091A.4738B0AF-ONCA256A96.0018A94B@mlc.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Very little as long as your system doesen't routinely crash.

/var and /usr are kept separate because one of the things people
have learned over time is that if a filesystem is in the middle of
being written and the system crashes, then the filesystem has more of a
chance of developing errors that fsck cannot repair than if the
filesystem was totally quiescent.  So the thought is that if you have
a large /usr with a lot of installed staff and the system falls over
on it's face and /var gets scrambled, then so what, you just newfs it and
restore from the last backup - short and sweet and little time lost.
By contrast if /usr goes down and you have a couple gigs of data in it...

But I've done exactly what you have done on some systems before for
the same reason with no problems.
 
Ted Mittelstaedt                                       tedm@toybox.placo.com
Author of:                           The FreeBSD Corporate Networker's Guide
Book website:                          http://www.freebsd-corp-net-guide.com


>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
>dan_mclean@mlc.com.au
>Sent: Thursday, July 26, 2001 9:32 PM
>To: freebsd-questions@FreeBSD.ORG
>Subject: Re: i-node problems
>
>
>
>Futher to my last, I have come accross a possible solution to the problem
>Can anyone tell me the implications of doing the following?
>
>
>
>Create /var link
>
>         # mkdir /usr/var
>         # cd /var
>         # tar cf - . | (cd /usr/var; tar xf - )
>         # cd /
>         # rm -rf /var
>         # ln -s /usr/var /var
>
>
>
>>I have just installed 4.3 on a 40Gb hard disk (I was sick of not being
>able
>>to run latex).
>
>>I keep getting an error "out of i-nodes" which I guess means that my /var
>>partition is filling
>>up. This is because I used the suggested partition size in the disk set up
>>part of the install
>>so only have 20Mb for /var and 39Gb for /usr (ok I know how dumb that is
>>now).
>
>>Here are my questions
>
>>1. Can I link the /var/db/pkg files to somewhere on my /usr partition?
>
>>2. Can I repatriation the /var some how to be say 100Mb ??
>
>>Thanks in advance.
>
>>Dan McLean
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005701c11663$a73dc0a0$1401a8c0>