Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2000 21:44:54 -0600
From:      Gabor Kincses <gabor@acm.org>
To:        Randy Bush <randy@psg.com>
Cc:        scsi@freebsd.org
Subject:   Re: CCD
Message-ID:  <3A04D7B6.77E2AFEB@acm.org>
References:  <3A038A39.D646F2F2@acm.org> <E13rudV-0001St-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randy Bush wrote:
> 
> i was dealing with a more complex situation.  i wanted /usr. /var, etc. on
> ccd.
> 
> so what i finally did was
>   o install non-ccd with one of the swap partitions as /usr
>   o build and install a ccd kernel
>   o config /etc/ccd.conf etc
>   o reboot ccd enabled but single user
>   o run ccdconfig -C, and mount the partitions
>   o tar the /usr, /var, ... into the new places
>   o fix fstab
>   o reboot
> 
> don't know what i would do if a swap partition was not big enough to hold
> enough of /usr to install and build kernels.

An old disk lying around might do the trick.  I actually had some extra
space, since the two disks are of different size, which is where the
original /usr was/is.  I just tar'd and moved the directories in /usr to
/usr2 (the ccd partition) and create symlinks.  What sort of performance
gain did you see (particularly random reads)?

-- 
Gabor Kincses
(gabor@acm.org)
Running FreeBSD 4.0-STABLE


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A04D7B6.77E2AFEB>