From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8e5ff4336634d17b0c3f6cfe8e7eb612@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] kenfs config? (was: OT: scsi sense error code hardware Date: Tue, 17 Oct 2006 17:35:19 -0400 From: geoff@plan9.bell-labs.com In-Reply-To: <200610172105.k9HL5x002179@zamenhof.cs.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: cb633eb8-ead1-11e9-9d60-3106f5b1d025 Good point; I was thinking of cw0f{(w5w1)w2}. cw0{f(w5w1)f(w2)}, or equivalently cw0{f(w5w1)fw2}, should work if (w5w1) is smaller than w2. The mirror device will limit both devices to the size of the smaller one, so if w2 is smaller than (w5w1), f(w5w1) will be truncated in the mirror {f(w5w1)fw2}. There's still the question of how to initialise the second device in the mirror-to-be. I would have copyworm-ed f(w5w1) to f(w2). I'm nervous that copying from cw0f(w5w1) may not yield exactly the same bytes as copying from f(w5w1).