Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2006 00:51:30 +0000
From:      Baldur Gislason <baldur@foo.is>
To:        Matt Smith <ratman6@charter.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: adding an extra hard disk and adding space to /usr
Message-ID:  <20061104005130.GA636@gremlin.foo.is>
In-Reply-To: <000001c6ff95$dfcd6df0$0201a8c0@bedroom>
References:  <20061103120052.75B4916A6D5@hub.freebsd.org> <000001c6ff95$dfcd6df0$0201a8c0@bedroom>

next in thread | previous in thread | raw e-mail | index | archive | help
Your only option here as far as I know is to partition the drive to be the new /usr
partition. To acheive this you would preferrably put the system into single user mode,
create a partition on the new drive and mount it under /mnt for example.
Then copy all the data between. I prefer to use dump and pipe it into restore myself
as this preserves all the filesystem flags that would get lost if you would
just do a cp or tar.
Then just update your fstab pointing /usr to the new drive and reboot the machine. 

Baldur

On Fri, Nov 03, 2006 at 05:17:33PM -0500, Matt Smith wrote:
> Hello all,
>     I have a machine that just had a new HD added to it as ad1 and I want to
> ADD this new disk onto the already existing /usr partition.  What's the best
> and safest way to do it?
> 
>                                         Matt
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061104005130.GA636>