From owner-freebsd-current@FreeBSD.ORG Sat Dec 13 05:34:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C8C916A513 for ; Sat, 13 Dec 2003 05:34:18 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE64843D2D for ; Sat, 13 Dec 2003 05:34:16 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id hBDDXwUd046837; Sat, 13 Dec 2003 08:33:58 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hBDDXvWE046834; Sat, 13 Dec 2003 08:33:57 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 13 Dec 2003 08:33:57 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Thierry Herbelot In-Reply-To: <200312131134.19270.thierry@herbelot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-current@freebsd.org cc: Tim Bishop Subject: Re: syncer panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2003 13:34:19 -0000 On Sat, 13 Dec 2003, Thierry Herbelot wrote: > Le Saturday 13 December 2003 11:11, Tim Bishop a =E9crit : > > > > As I've said, I am using vinum to mirror my swap. However, I set dumpde= v >=20 > Vinum to mirror also the swap ? Please explain what you are trying to > achieve ?=20 Presumably uptime via fault tolerance: the goal of putting swap and temporary storage on a mirrored array is to avoid a single disk failure from taking you down. Losing your swap partition can have disastrous consequences on any data stored in the partition, including application data... That said, I believe the problem being experienced here is that the swap subsystem currently expects to talk to a GEOM object, and when it looks at Vinum it finds a non-GEOM object. This can probably be worked around by tricking GEOM into sticking a GEOM wrapper on the Vinum partition you want to use for swap, such as using a Vinum partition as backing for a vnode-backed md device. That said, I can't reach my test boxes at work that I use for occasional Vinum testing due to a firewall outage, so I can't test it right this moment. The long-term fix is to make GEOM speak the disk(9) API at the top end, rather than the character device API.=20 Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research > I built a fully-mirrored machine (to check what the handbook said about= =20 > booting from a mirrored root), but /tmp was still a simply striped partit= ion=20 > (no mirror), like swap, where I left the OS swap manager use two partitio= ns,=20 > like you could do when having two non-vinumed disks : > in /etc/fstab : > /dev/ad0s3b none swap sw 0 0 > /dev/ad2s3b none swap sw 0 0 >=20 > With this kind of setup, all important data are (suposed to be) written t= o=20 > both physical disks, and all remaining info will be lost in case of a=20 > failure. >=20 > =09TfH >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >=20