From owner-freebsd-current@FreeBSD.ORG Mon Feb 20 22:02:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 B5A0716A420; Mon, 20 Feb 2006 22:02:10 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.net (mail.yazzy.net [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60E3343D7C; Mon, 20 Feb 2006 22:02:03 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (unknown [192.168.99.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.net (Postfix) with ESMTP id 691BE3982E; Mon, 20 Feb 2006 23:03:14 +0100 (CET) Date: Mon, 20 Feb 2006 22:00:37 +0000 From: Marcin Jessa To: "Larry Rosenman" Message-Id: <20060220220037.2d14f128.lists@yazzy.org> In-Reply-To: <013701c63653$5b440e10$0a0a0a0a@aus.pervasive.com> References: <43FA15F5.4050300@FreeBSD.org> <013701c63653$5b440e10$0a0a0a0a@aus.pervasive.com> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: thierry@herbelot.com, dougb@FreeBSD.org, freebsd-current@freebsd.org Subject: Re: no dump on a gmirror ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 20 Feb 2006 22:02:10 -0000 On Mon, 20 Feb 2006 13:25:05 -0600 "Larry Rosenman" wrote: > Doug Barton wrote: > > Larry Rosenman wrote: > >> Thierry Herbelot wrote: > >>> Hello, > >>> > >>> I have recently converted a machine to a full gmirror configuration > >>> (as explained on http://people.freebsd.org/~rse/mirror/ : > >>> everything, including swap, is mirrored). > >>> > >>> The dump device is configured as AUTO from /etc/defaults/rc.conf and > >>> the kernel complains when booting that "No suitable dump device was > >>> found". > >>> > >>> Is this to be expected ? (I do not find any hint in gmirror(8) or > >>> dumpon(8)) > >> > >> Yes, unfortunately. > >> > >> I wish someone would change it, as if I get a system panic, I'll > >> not be able to help fix it. > > > > Does specifying a device, rather than using AUTO, work for you? > > > > Doug > > as in? > > # dumpon /dev/mirror/gm0s1b > dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported > # > > Feb 20 13:23:03 thebighonker kernel: Loading configuration files. > Feb 20 13:23:03 thebighonker kernel: dumpon: > Feb 20 13:23:03 thebighonker kernel: ioctl(DIOCSKERNELDUMP) > Feb 20 13:23:03 thebighonker kernel: : > Feb 20 13:23:03 thebighonker kernel: Operation not supported > > # cat /etc/rc.conf > hostname="thebighonker.lerctr.org" > dumpdev="/dev/mirror/gm0s1b" > > so, no it doesn't. > > I don't believe I can get at the "b" slices of the individual disks > (da0/da1). You may try the same trick as NetBSD uses with RAIDframe: http://www.netbsd.org/guide/en/chap-rf.html#chap-rf-setup-kerneldump Cheers, Marcin.