Date: Fri, 3 Oct 2003 11:13:33 -0500 From: Redmond Militante <r-militante@northwestern.edu> To: Robert Huff <roberthuff@rcn.com> Cc: freebsd-questions@freebsd.org Subject: Re: var partition is too small Message-ID: <20031003161333.GA894@darkpossum> In-Reply-To: <16253.38542.950331.910140@jerusalem.litteratus.org> References: <20031003140043.GB80565@darkpossum> <16253.38542.950331.910140@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031003161333.GA894>