From owner-freebsd-questions@FreeBSD.ORG Fri Aug 21 02:36:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBA7E106568C for ; Fri, 21 Aug 2009 02:36:34 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from arthur.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id A0C4B8FC51 for ; Fri, 21 Aug 2009 02:36:34 +0000 (UTC) Received: (qmail 1260 invoked from network); 20 Aug 2009 19:36:33 -0700 Received: from arthur.silvertree.org (HELO ?127.0.0.1?) (173.11.101.153) by arthur.silvertree.org with SMTP; 20 Aug 2009 19:36:33 -0700 Message-ID: <4A8E0837.5020608@silvertree.org> Date: Thu, 20 Aug 2009 19:36:39 -0700 From: Scott Schappell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <00B06063-9872-4ACE-8767-1221C22E33EE@silvertree.org> <200908201442.06321.mel.flynn+fbsd.questions@mailing.thruhere.net> <465A1012-147B-449A-992A-91C1458EDB3F@silvertree.org> <200908201531.06222.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200908201531.06222.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Remounting a drive as read/write crashes the system and no dmesg.boot 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, 21 Aug 2009 02:36:34 -0000 On 8/20/2009 4:31 PM, Mel Flynn wrote: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html OK, /backup was mounted read only, I did the following umount /backup mount -o rw /backup [root@arthur ~]# dd if=/dev/zero of=/backup/testfile bs=1024 dd: /backup/testfile: end of device 21122+0 records in 21121+0 records out 21627904 bytes transferred in 2.215991 secs (9759924 bytes/sec) [root@arthur ~]# You can see by that snippet it barfed at 21627094 bytes (21 megabytes, ish). /backup has 100s of GiB free. Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 9.7G 453M 8.5G 5% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1d 15G 481M 13G 4% /var /dev/ad0s1e 15G 3.1G 10G 23% /usr /dev/ad0s1f 15G 1.4G 12G 10% /usr/local /dev/ad0s1g 216G 3.5G 195G 2% /home /dev/ad2s1d 226G 32G 176G 15% /backup I cannot get the system to generate a dump, even though dumpon verified it's set to the swap drive but /var/crash stays empty. I have dumpdev=AUTO in rc.conf and dumpdir=/var/crash as well. Could this have anything to do with how I added the drive? I followed the handbook instructions but maybe I messed it up.