From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 09:22:09 2003 Return-Path: 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 4754916A4B3 for ; Fri, 3 Oct 2003 09:22:09 -0700 (PDT) Received: from merle.it.northwestern.edu (merle.it.northwestern.edu [129.105.16.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F58E43FFD for ; Fri, 3 Oct 2003 09:22:07 -0700 (PDT) (envelope-from r-militante@northwestern.edu) Received: (from mailnull@localhost) by merle.it.northwestern.edu (8.12.10/8.12.10) id h93GM6Cq013414; Fri, 3 Oct 2003 11:22:06 -0500 (CDT) Received: from merle.it.northwestern.edu (darkpossum.medill.northwestern.edu [129.105.51.23]) by merle.it.northwestern.edu via smap (V2.0) id xma011341; Fri, 3 Oct 03 11:21:43 -0500 Date: Fri, 3 Oct 2003 11:13:33 -0500 From: Redmond Militante To: Robert Huff Message-ID: <20031003161333.GA894@darkpossum> References: <20031003140043.GB80565@darkpossum> <16253.38542.950331.910140@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <16253.38542.950331.910140@jerusalem.litteratus.org> User-Agent: Mutt/1.4.1i X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Content&pa=showpage&pid=1 X-DSA-and-ElGamal-Fingerprint: 2AA2 E78E A6FC 9144 3534 39A2 EE0F 8D26 5FDF 481D cc: freebsd-questions@freebsd.org Subject: Re: var partition is too small X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Redmond Militante List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 16:22:09 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hello i have a practice box set up, i've been trying to resizing /var by symlinki= ng it to /usr/var in theory this is simple - my methodology is drop to single user mode fsck -p mount -u / mount -a -t ufs swapon -a adjkerntz -i mkdir /usr/var cd /var cp -R * /usr/var cd ../ mv /var /var-old ln -s /usr/var comment out the var line in fstab reboot -this works, except the permissions in the var directory are lost. dmesg s= hows that /var/spool/clientmqueue needs to be owned by smmsp:smmsp and be c= hmod 770. i get around this by going to one of my backups, unzipping the v= ar directory, and trying the above procedure again, only this time mv'ing t= he /var contents i extracted from backup into /usr/var this seems to work ok - no errors in dmesg - however, i was using the machi= ne, and i opened up mutt - mutt complained about /var/tmp's permissions not= being set right. so - it looks like i may run the risk of losing the correct permissions on = some files/directories in var if i decide to try symlinking to give my var = partition more space... is there anything i'm missing? i'd really like this to go seamlessly... thanks again redmond [Fri, Oct 03, 2003 at 11:32:30AM -0400] This one time, at band camp, Robert Huff said: >=20 > Redmond Militante writes: >=20 > > which sets httpd-access.log to be rotated in binary format > > everytime it reaches 100 mb or once every hour for 24 hours. > > > > the /var partition on this machine is 252 mb. >=20 > In my opinion, if you acknowledge the real possibility of > haveing a 100mb file (never mind 100 users' mailboxes) there then > /var is _way_ too small. I would have 500mb, and do 1gb if I could > afford it. >=20 >=20 > Robert Huff >=20 >=20 --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/faAt7g+NJl/fSB0RAlkbAJ0QPLDEB4coEWtbMH1r8UG5eCQIuwCfZ4db XQsrYZOHf1cDza1XJLMMwhs= =pMT9 -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--