Re: OpenBSD 3.3 and 2 hard disks Tim Judd <tjudd01@hotmail.com> writes:
> Goal:
> MASTER:
> 128MB /
> 20GB /home
> 7.8GB /usr
> SLAVE:
> 3GB swap
What kernel? The kernel needs to know where root and swap are.
Frmo GENERIC:
config bsd swap generic
That bit says root on partition A, swap on partition B. You
need to build a custom kernel with something like:
config bsd root on wd0a swap on wd1b
Haven't a clue if will work, thought. What I'd do is
make a small swap on wd0 in addition to partition B on wd1. Then
change the config to somethign like:
config bsd root on wd0a swap on wd0b and wd1b
I do something similar with swap spread over 3 scsi drives.
hana[marc]$ swapctl -l
Device 1K-blocks Used Avail Capacity Priority
swap_device 986112 0 986112 0% 0
/dev/sd1b 986112 0 986112 0% 0
/dev/sd2b 1048464 0 1048464 0% 0
Total 3020688 0 3020688 0%
// marc |