Date: Sun, 28 Mar 1999 17:44:07 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Dibyo Gahari <dibyo@bali.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to change a partition size Message-ID: <19990328174407.A60349@relay.ucb.crimea.ua> In-Reply-To: <Version.32.19990328205011.00f1c100@bali.net>; from Dibyo Gahari on Sun, Mar 28, 1999 at 09:08:46PM %2B0800 References: <199903261725.AAA18333@server.jad.net> <199903261725.AAA18333@server.jad.net> <19990328102707.N53452@lemis.com> <Version.32.19990328205011.00f1c100@bali.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 28, 1999 at 09:08:46PM +0800, Dibyo Gahari wrote: > > Hi Greg, > > Thanks for your kind explanation. > > At 08:57 28/03/99 , Greg Lehey wrote: > >On Saturday, 27 March 1999 at 1:24:50 +0800, Dibyo Gahari wrote: > > >> i need to add the size of /var > > >Why? > > Because the growing mail accounts I have to add. > > >I always recommend against having a /var file system at all. The > >situation you find yourself in now is the main reason: it's a real > >pain to have to resize file systems, and there's no good reason for a > >/var file system on the same disk as /usr in the first place. I'd > >recommend: > > > >1. For now, put subdirectories of /var on /usr and use symlinks to > > point there. > > Do you mean: > > 1. move/copy subdirectories of /var to new /usr/var > 2. umount /var (and leave the old /var unmount and unused) > 3. symlinks /var to /usr/var > 4. reboot ??? > Yup! Boot into single user mode before doing this, or, better yet, `shutdown' from multiuser. This will save your mounts in read-write. Here is my layout: # df /var /usr Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1e 29727 16715 10634 61% /var /dev/da0s1f 2956432 1746143 973775 64% /usr # ls -l /var/mail lrwxr-xr-x 1 root wheel 9 Jun 10 1998 /var/mail -> /usr/mail Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age 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?19990328174407.A60349>