From owner-freebsd-questions@FreeBSD.ORG Tue Aug 18 20:11:11 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 5D0EE106568E for ; Tue, 18 Aug 2009 20:11:11 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f199.google.com (mail-yw0-f199.google.com [209.85.211.199]) by mx1.freebsd.org (Postfix) with ESMTP id 168BF8FC7E for ; Tue, 18 Aug 2009 20:11:10 +0000 (UTC) Received: by ywh37 with SMTP id 37so5617713ywh.28 for ; Tue, 18 Aug 2009 13:11:10 -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 :content-transfer-encoding; bh=ne/veUiw5YA9E59vgHE/bZHibokpO4EDeJaQky/cANQ=; b=GsyOV3lS/mpci3SwQbltAeA+IN9Xd2lKVlYpwCrmoHFzcaPzVQLPTe5o+zg8PKgUpz yvrwSIjQPleHFAuI6wcSjFkj45PKD8YzqcxEe7BowVoHPWKdMB3Xj1WMF/hqbWT1FXAS UqvsdpbVtlQbTja4Zg5S9I0PysayvnK2z/e/c= 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:content-transfer-encoding; b=GsDKQCXuoAheBFOBQcEtdbVDZ22JqMKgFetLvXW50gqBqHomW2KOianQi5pHdTS5yL 0ytWPCcyOnRvUmeR50BT9GZTnNgYO7/cbQHKXt+ouMhaWIXLM5oBsLJA9KtrTHzWnkz2 GE54hHNl6XmoT43znWjtwIiujAe/BTD+Q9f/0= MIME-Version: 1.0 Received: by 10.101.98.18 with SMTP id a18mr6002866anm.90.1250626270355; Tue, 18 Aug 2009 13:11:10 -0700 (PDT) In-Reply-To: <00B06063-9872-4ACE-8767-1221C22E33EE@silvertree.org> References: <00B06063-9872-4ACE-8767-1221C22E33EE@silvertree.org> Date: Tue, 18 Aug 2009 14:11:10 -0600 Message-ID: From: Tim Judd To: Scott Schappell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Tue, 18 Aug 2009 20:11:11 -0000 On 8/18/09, Scott Schappell wrote: > I have a drive (/dev/ad2s1d) mounted to /backup that I want to be read > only until the backup scripts run and then it will be read/write. If > I set /etc/fstab to: > > /dev/ad2s1d /backup ufs ro > 0 0 On my CF-based devices (firewalls.. nagios boxes, etc), I run: mount -uw / to update the mount (not mount again) the filesystem. If you're trying to mount again, I could understand why the box panics. Try in your script: mount -u -w /backups or shorter by a little: mount -uw /backups do your stuff, then go back to read-only: mount -ur /backups HTH > > to mount it read only most of the time then do: > > umount /backup > mount -o rw /backup > > the system crashes, it just reboots about 10 seconds into writing > data. The system is perfectly stable with it mounted read/write. > > Also, dmesg.boot has completely disappeared from the system, and > touch /var/log/dmesg.boot it does not get populated. > > # uname -a > FreeBSD arthur.silvertree.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 > #1: Fri Aug 14 13:27:47 PDT 2009 root@arthur.silvertree.org:/usr/ > obj/usr/src/sys/ARTHUR i386 > > Any suggestions on the remounting drive and dmesg.boot? > > Thanks! > > Scott > > P.S. It's good to be off of FreeBSD 4.11 :) > > > _______________________________________________ > 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" >