From owner-freebsd-questions Thu Jul 26 23:16:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id F190037B401 for ; Thu, 26 Jul 2001 23:16:41 -0700 (PDT) (envelope-from tedm@toybox.placo.com) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f6R6GK851056; Thu, 26 Jul 2001 23:16:32 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: , Subject: RE: i-node problems Date: Thu, 26 Jul 2001 23:16:20 -0700 Message-ID: <005701c11663$a73dc0a0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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