From owner-freebsd-questions@FreeBSD.ORG Fri Jul 31 06:15:02 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 4ED27106564A for ; Fri, 31 Jul 2009 06:15:02 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 071688FC0A for ; Fri, 31 Jul 2009 06:15:01 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by yxe11 with SMTP id 11so3449715yxe.3 for ; Thu, 30 Jul 2009 23:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=HwdQie8v3nwZwXSTu2P80VbNWrOoBdaYpGau1Ns6qEY=; b=CyHDnXMZXX59oHdXTcfbbUfJz+ncGJbujZ2724uliAbMo9VsCA8QcICiVrGM2R7mf1 itSavbIKUI9siGdQZYz5kvAoPm9y5RCNr20CSLXvLG99dpHhi0Z6+VvqlwDL7Kj+IyaF pDCiPeWCWhk43QZbEbnwtsFE3wEBuV+/Uh3O4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ik+tK2rK/k6kpqCqqSNI96CON9LaRk/1Vl2mdlk7FjatFJCrYK8gRvNvglsyF7Thgv /pyTsRyIUthU0AKn0yRyFOGoeOrL7XX4ZBWbvNtG55o4zN9hSx+/Tz/I2uZ4JxFBj+K6 ahx8HsnB3ak6P/N5dL2ERvS15ivY0heti2TK4= MIME-Version: 1.0 Received: by 10.150.124.13 with SMTP id w13mr3813980ybc.119.1249019192391; Thu, 30 Jul 2009 22:46:32 -0700 (PDT) In-Reply-To: <4A7271DE.7070702@p6m7g8.com> References: <4A7271DE.7070702@p6m7g8.com> Date: Fri, 31 Jul 2009 00:46:32 -0500 Message-ID: <6201873e0907302246r10033969p1651104b6e0598cf@mail.gmail.com> From: Adam Vande More To: "Philip M. Gollucci" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: 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 06:15:02 -0000 On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci wrote: > 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. That is incorrect, but I don't know the cause of your problem. I run nothing but gmirror and dumps happen here. > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More