Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2000 09:09:01 +0400
From:      Igor Roboul <igor@raduga.dyndns.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Re-partioning hard disk
Message-ID:  <20000825090901.E16762@linux.rainbow>
In-Reply-To: <39A5FA47.B5620A41@pop.jaring.my>; from netline@pop.jaring.my on Fri, Aug 25, 2000 at 12:47:04PM %2B0800
References:  <39A5FA47.B5620A41@pop.jaring.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 25, 2000 at 12:47:04PM +0800, K H Tan wrote:
> Hello,
> 
> I've some questions :
> 
> 1) I've decided to re-partition my hard disk, to allocate more space to
> /var for e.g. Is there a way to do this or do I have to reinstall the
> whole OS?
> 
> 2) Currently I have one NIC installed. If I install another one and
> connect both to a switching hub, will I get double bandwidth?
> How do I go about making the NICs redundant - in case one fails, the
> other takes over?
> 
> Thank you.
Step by step:
1) Copy content of /var to (for exampe) /usr/var_bak
2) remove /var from /etc/fstab (or comment it out)
3) modify /etc/rc: after mounting / add "rmdir /var ; ln -s /usr/var_bak /var"
4) reboot 
5) now you can make new slice for /var 
6) mount it on /mnt 
7) cp from /usr/var_bak
8) remove your additions from /etc/rc
9) add entry for new /var into /etc/fstab
10) reboot
11) if all is Ok, then remove /usr/var_bak

-- 
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga"
http://www.brainbench.com/transcript.jsp?pid=304744


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?20000825090901.E16762>