9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Geoff Collyer <geoff@collyer.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fs hardware configuration
Date: Fri, 29 Nov 2002 15:13:41 -0800	[thread overview]
Message-ID: <f263b66c926f04bb3490e066207fd8cc@collyer.net> (raw)

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.



             reply	other threads:[~2002-11-29 23:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29 23:13 Geoff Collyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-03  8:34 Fco.J.Ballesteros
2002-12-03  8:20 Fco.J.Ballesteros
2002-12-03 10:37 ` Kenji Arisawa
2002-12-02 23:40 Geoff Collyer
2002-12-02 14:48 Fco.J.Ballesteros
2002-12-02 14:27 Fco.J.Ballesteros
2002-12-02 14:40 ` Lucio De Re
2002-12-02  8:31 Fco.J.Ballesteros
2002-12-02 14:21 ` Lucio De Re
2002-12-02 23:53   ` Kenji Arisawa
2002-11-30 13:42 Skip Tavakkolian
2002-11-30 16:38 ` Nigel Roles
2002-11-30 18:00 ` William Josephson
2002-11-29 23:57 Skip Tavakkolian
2002-11-29 15:53 Skip Tavakkolian
2002-11-30  8:49 ` Nigel Roles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f263b66c926f04bb3490e066207fd8cc@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).