From owner-freebsd-questions Thu Jul 1 18:28:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 21DAF14F2A for ; Thu, 1 Jul 1999 18:28:06 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA07365; Fri, 2 Jul 1999 10:58:05 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA90679; Fri, 2 Jul 1999 10:58:04 +0930 (CST) Date: Fri, 2 Jul 1999 10:58:04 +0930 From: Greg Lehey To: Palle Girgensohn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vinum for root partition? Message-ID: <19990702105804.I87392@freebie.lemis.com> References: <377BEE3B.A10C4D8@partitur.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <377BEE3B.A10C4D8@partitur.se>; from Palle Girgensohn on Fri, Jul 02, 1999 at 12:39:55AM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Friday, 2 July 1999 at 0:39:55 +0200, Palle Girgensohn wrote: > Hi! > > I'm just setting up a system with two scsi drives, using vinum for > mirroring only. Is it possible to use vinum for the also root partition > somehow? I realize it not simple. Sure, it's just a SMOP. > Here's my disklabel (same for both drives): > # size offset fstype [fsize bsize bps/cpg] > a: 144585 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 8) > b: 803250 144585 swap # (Cyl. 9 - 58) > c: 17928698 0 unused 0 0 # (Cyl. 0 - 1116*) > e: 16980863 947835 4.2BSD 1024 8192 16 # (Cyl. 59 - 1116*) > > My plan is to sync the the 'a' partitions, so if one disk dies, the > other root partition is useable. But, I guess the system will have to > reboot if the drive crashes, since the root fs will be unusable. If you're using Vinum, you should have only one partition per disk. > I thought, maybe there's some way to fool the system with some > disklabel "magic", or perhaps I can remount a different fs instead > of remounting root read-write. Just a wild thought. Any comments? > Maybe it's better to mfs mount the root somehow? I'm not sure how to > do that in this case... You're thinking in the right direction, but I haven't spent enough time investigating things to make a statement. Well, maybe one: this particular feature is top of the wish list, so I'll probably do it first. But it won't be tomorrow. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message