adding an extra hard disk and adding space to /usr

Baldur Gislason baldur at foo.is
Sat Nov 4 00:51:35 UTC 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 



More information about the freebsd-stable mailing list