From owner-freebsd-questions Wed Nov 25 18:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16138 for freebsd-questions-outgoing; Wed, 25 Nov 1998 18:53:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16122 for ; Wed, 25 Nov 1998 18:53:45 -0800 (PST) (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 NAA20546; Thu, 26 Nov 1998 13:23:39 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id NAA23065; Thu, 26 Nov 1998 13:23:36 +1030 (CST) Message-ID: <19981126132335.W67961@freebie.lemis.com> Date: Thu, 26 Nov 1998 13:23:35 +1030 From: Greg Lehey To: "Roman D. Sinyuk" Cc: FreeBSD Questions Subject: Re: Vinum (was: How to use ccd) References: <19981121190559.D303@futuresouth.com> <19981122155412.H1005@freebie.lemis.com> <19981121233448.A55997@futuresouth.com> <19981122160648.I1005@freebie.lemis.com> <19981121235118.A56164@futuresouth.com> <19981122181241.K1005@freebie.lemis.com> <365AAC47.55EF9FA@umc.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <365AAC47.55EF9FA@umc.com.ua>; from Roman D. Sinyuk on Tue, Nov 24, 1998 at 02:53:27PM +0200 WWW-Home-Page: http://www.lemis.com/~grog 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 On Tuesday, 24 November 1998 at 14:53:27 +0200, Roman D. Sinyuk wrote: > Greg Lehey wrote: > >> On Saturday, 21 November 1998 at 23:51:18 -0600, Stormy Henderson wrote: >>> A happy camper (Greg Lehey, grog@lemis.com) once wrote... >> >> Please copy me on messages you expect me to read. Otherwise I might >> not see them. >> >>>> Yup, I'm afraid so. If you're going to that, you might as well move >>>> to vinum at the same time. http://www.lemis.com/vinum.html. >>> >>> Is it faster >> >> No. In each case, the limiting factor is the disk hardware. >> >>> or more stable? >> >> Yes. ccd is fine as long as the hardware is OK. If a component of a >> mirror fails, however, you have to reboot and reconfigure ccd before >> you can continue. Vinum recovers automatically. >> >>> It looks much more complicated to setup than ccd. >> >> A little. But it's not really that complicated, and the documentation >> is (marginally) better. > > Hi! > What can you say about boot-time automaticaly mount vinum partition from > /etc/fstab. You need to start Vinum before you can mount the volumes. I haven't committed a modification to that one, but you could try this: /etc/rc: After the text: # Configure ccd devices. if [ -f /etc/ccd.conf ]; then ccdconfig -C fi Add: if [ -f /etc/vinumconf ]; then /etc/vinumconf fi /etc/vinumconf looks like: #!/bin/sh # Mount a temporary /tmp to be able to load the LKM # Care! At this point we don't *have* a swap mount_mfs /dev/sd0s1b /mnt modload -o /mnt/foo /lkm/vinum_mod.o /sbin/vinum read /dev/sd2h /sbin/umount /mnt The /dev/sd0s1b is the name of the swap partition. It's just used so that MFS will create a file system. It could cause problems with small memory (I'd guess < 8MB). Greg -- 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