From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6891119e090a91ad091eb75594181ae5@plan9.escet.urjc.es> From: Fco.J.Ballesteros From: nemo@plan9.escet.urjc.es To: 9fans@cse.psu.edu Subject: Re: [9fans] now for something completely devfs :) In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ubnqzxuszabmfcihpymayqnbln" Date: Wed, 9 Jul 2003 20:43:58 +0200 Topicbox-Message-UUID: f03fb3e8-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ubnqzxuszabmfcihpymayqnbln Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit if you have several partitions configure in devfs, them all are updated. If you config the mirror before dding, then dd takes care of everything not updated during the dd, and devfs takes care of things updated while dding. Since devfs services reads from the first device (as long as it works), there's no problem in using it. There's a race of course, but you can probably check later with cmp (I did that a couple of times and the race did not hurt me). I'd try as hard as feasible to keep the partitions untouched, just in case... --upas-ubnqzxuszabmfcihpymayqnbln Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Wed Jul 9 19:20:28 MDT 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 6F25C19BAA; Wed, 9 Jul 2003 13:20:16 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4A76A19B2A; Wed, 9 Jul 2003 13:20:12 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id DCF2D19B5A; Wed, 9 Jul 2003 13:19:53 -0400 (EDT) Received: from fbsd.cpsc.ucalgary.ca (fbsd.cpsc.ucalgary.ca [136.159.7.68]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E0B5C19B76 for <9fans@cse.psu.edu>; Wed, 9 Jul 2003 13:19:52 -0400 (EDT) Received: from fbsd.cpsc.ucalgary.ca (localhost.localdomain [127.0.0.1]) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8) with ESMTP id h69HJkeH008533 for <9fans@cse.psu.edu>; Wed, 9 Jul 2003 11:19:46 -0600 Received: from localhost (mirtchov@localhost) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8/Submit) with ESMTP id h69HJkkU008529 for <9fans@cse.psu.edu>; Wed, 9 Jul 2003 11:19:46 -0600 X-Authentication-Warning: fbsd.cpsc.ucalgary.ca: mirtchov owned process doing -bs From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] now for something completely devfs :) In-Reply-To: <01eb95d1b74c640de263ed1bfb9e5e71@plan9.escet.urjc.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 9 Jul 2003 11:19:46 -0600 (MDT) X-Spam-Status: No, hits=-2.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) My fossil is working, but I still want to know if /dev/sdC0/fossil (for example) changes while I'm dd-ing it to /dev/sdD0/fossil, will devfs take care of that discrepancy? The other question -- is there a way to know whether one or more of the mirrored disks have crashed and take measures? Watch the HDD light on the front panel? (A RAID controller we have here actually says that the only way to know if a disk has crashed is to reboot the machine -- then the controller BIOS will detect it.) andrey On Wed, 9 Jul 2003, Fco.J.Ballesteros wrote: > I did setup the mirror before formatting venti/fossil partitions. > > Otherwise, you'd need to copy one disk to another while the partitions > are idle. > > Let's say you have /dev/fs/mirror out of /dev/sdC0/part and /dev/sdC1/part > > If you add /dev/sdD0/part you could dd from either /dev/fs/mirror or > from /dev/sdC[01]/part to /dev/sdD0/part. You should also add the device > to devfs. > > I can help somehow, let me know. > --upas-ubnqzxuszabmfcihpymayqnbln--