logo       

Re: fs hardware configuration: msg#00612

os.plan9.general

Subject: Re: fs hardware configuration

The latest file server code and manual pages on sources include IDE
support, the mirror device and a few other small changes. So the
latest CD image should include them too. The new fsconfig(8) includes
a more complex real-life example than before.

My file server with 4 IDE disks uses this configuration:

config h0
service fs
filsys main c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
filsys dump o
filsys spare h1
filsys other h3
ipauth 0.0.0.0
ipsntp 10.9.0.3
ip0 10.9.0.1
ipgw0 10.9.0.254
ipmask0 255.255.0.0
end

It's evolved over time and so isn't necessarily the best use of the
drives. main uses the first 25% of h0 as cache and mirrors it to the
first 25% of h2 (h1.0.0). It also uses the rest of h0 as a fake worm
and mirrors it to the rest of h2.

For your hardware, I'd suggest a fake worm on one IDE drive, mirrored
to the second, with one SCSI drive as "other" and the other as cache.
So something like this:

config h0
service fs
filsys main cw0f{h0h2}
filsys dump o
filsys other w1
ipauth 0.0.0.0
ipsntp 10.9.0.3
ip0 10.9.0.1
ipgw0 10.9.0.254
ipmask0 255.255.0.0
ream main
ream other
end

This assumes that you make the IDE drives masters on separate
controllers. Of course, you only ream the file systems once, to
initialise them.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise