From owner-freebsd-current@FreeBSD.ORG Mon Feb 20 22:12:25 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 EA3D516A422; Mon, 20 Feb 2006 22:12:25 +0000 (GMT) (envelope-from ler@lerctr.org) Received: from lerami.lerctr.org (lerami.lerctr.org [192.147.25.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB5743D5E; Mon, 20 Feb 2006 22:12:20 +0000 (GMT) (envelope-from ler@lerctr.org) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=Byui3fDAsDRPfvXjVsmJp1l5+Ya5dNLBaj8Qcqqx9D5mfYG1rwB9Wx8q0vNjItca1zZXHOq+n+mo4dsCOW018ggMr39KlyO8tRlbvDxqkMpblWOh5jL4X/4ppH87/rPeKxE9/zRn879SVxO0kuK942kGUgSAsKhJGNutd8KH1FM=; Received: from 64-132-13-2.gen.twtelecom.net ([64.132.13.2]:61842 helo=LROSENMAC8010P) by lerami.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.60) (envelope-from ) id 1FBJGQ-00074f-Fs; Mon, 20 Feb 2006 16:12:19 -0600 From: "Larry Rosenman" To: "'Marcin Jessa'" Date: Mon, 20 Feb 2006 16:12:14 -0600 Message-ID: <02dc01c6366a$b4336c20$0a0a0a0a@aus.pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcY2abAQ1crHNEUiR7Sfhx5JrCFK8AAAN9JA In-Reply-To: <20060220220037.2d14f128.lists@yazzy.org> X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 X-LERCTR-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 DomainKey-Status: no signature Cc: dougb@FreeBSD.org, freebsd-current@freebsd.org, thierry@herbelot.com 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:12:26 -0000 Marcin Jessa wrote: > 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 > That won't work, as you can't get at the labels: # bsdlabel da0 bsdlabel: /dev/da0: no valid label found # bsdlabel da0s1 bsdlabel: /dev/da0s1: Operation not permitted # -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893