From owner-freebsd-questions@FreeBSD.ORG Fri Jul 31 04:34:05 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2300F1065674 for ; Fri, 31 Jul 2009 04:34:05 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 123E98FC15 for ; Fri, 31 Jul 2009 04:34:04 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from [172.28.1.202] (98.141.235.114) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.375.2; Thu, 30 Jul 2009 21:24:02 -0700 Message-ID: <4A7271DE.7070702@p6m7g8.com> Date: Fri, 31 Jul 2009 00:23:58 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Subject: gmirror / crash dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 04:34:05 -0000 Hi, Say I've got the following: /dev/mirror/gm0s1b none swap sw /dev/mirror/gm0s1a 989M 390M 520M 43% / /dev/mirror/gm0s1g 15G 1.7G 12G 13% /usr /dev/mirror/gm0s1h 544G 1.8M 501G 0% /usr/home /dev/mirror/gm0s1d 1.9G 500M 1.3G 27% /usr/src /dev/mirror/gm0s1e 1.9G 1.1G 733M 60% /usr/obj /dev/mirror/gm0s1f 97G 2.0K 89G 0% /var Well I'm trying to get my kernel panics to cause dumps 1) /etc/rc.conf dumpdev=AUTO crashinfo_enable="YES" 2) sudo chmod 700 /var/crash 3) 8GB RAM, 16GB of swap, /var/crash is 16GB < 97GB 4) I have the following in my 7-stable kernel makeoptions DEBUG=-g options AUDIT options KTRACE options KDB options KDB_TRACE options DDB options GDB options BREAK_TO_DEBUGGER options INVARIANTS options INVARIANT_SUPPORT options WITNESS options DEBUG_LOCKS options DEBUG_VFS_LOCKS options LOCK_PROFILING options DIAGNOSTIC The long and the short of it is I don't get any dumps. I read somewhere that you can't dump onto a gmirror device. So I've moved /var off of /dev/mirror/gm0s1f 97G 2.0K 89G 0% /var and I can now do what I want with this. How do I go about re-jiggering this (2-disk gmirror) so I can use 1 slice from one of them as my dumpon(8) device? TIA