On Tue, Mar 27, 2007 at 07:45:38PM -0400, Julian Leyh wrote: > On 21:01 Mon 26 Mar , Darrin Chandler wrote: > > Reinstall may be the easiest and cleanest. There's also another > > alternative that you left out, which I have done before. If you have > > unused space at the end, you can add a slice and newfs for a new /var, > > then reboot single user and copy everything over, edit fstab, etc. Not > > *too* tricky at all, if the space is there to begin with. > > You could also identify which directories use the most space and move > them to a different location, and add a symlink instead. > > That souldn't be done for any directory in /var, but for example > /var/www can easily be put somewhere else.. If you don't run a webserver > you could even delete it safely.
Good point. I've actually done this on purpose. I built a server for web+database and didn't know how much space I'd need until I was into the design. So I made a small /var and left unused space. Later I knew better how much I'd need for /var/www vs. /var/postgresql, and it's a simple matter to slice up the unused space, newfs, copy, and edit fstab. -- Darrin Chandler | Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation