On 8/18/09, Scott Schappell <arc...@silvertree.org> 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 r...@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-unsubscr...@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"