From owner-freebsd-questions@FreeBSD.ORG Sun May 9 03:33:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E648106566B for ; Sun, 9 May 2010 03:33:59 +0000 (UTC) (envelope-from bobbyjwalker@live.com) Received: from blu0-omc4-s30.blu0.hotmail.com (blu0-omc4-s30.blu0.hotmail.com [65.55.111.169]) by mx1.freebsd.org (Postfix) with ESMTP id 42ED18FC08 for ; Sun, 9 May 2010 03:33:59 +0000 (UTC) Received: from BLU0-SMTP86 ([65.55.111.135]) by blu0-omc4-s30.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 8 May 2010 20:33:59 -0700 X-Originating-IP: [216.150.115.3] X-Originating-Email: [bobbyjwalker@live.com] Message-ID: Received: from [10.10.10.101] ([216.150.115.3]) by BLU0-SMTP86.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 8 May 2010 20:33:57 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) From: Bobby Walker In-Reply-To: Date: Sat, 8 May 2010 22:33:53 -0500 Content-Transfer-Encoding: quoted-printable References: To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1078) X-OriginalArrivalTime: 09 May 2010 03:33:58.0377 (UTC) FILETIME=[7592DD90:01CAEF28] Subject: Re: File system 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: Sun, 09 May 2010 03:33:59 -0000 On May 8, 2010, at 10:18 PM, Ansar Mohammed wrote: > Hello Bobby, >=20 > The VM is in my lab environemnt. I have many flavours of Windows, = Linux and > FreeBSD. FreeBSD is my firewall running PF. >=20 > I have rebooted my entire environment hundreds of times, and non of my > Windows or Linux VMs will complain or boot into a repair/single user = mode. >=20 > The background to this problem is because the FreeBSD root filesystem = (UFS) > is not journaled and for some reason I cannot set my root partition to = be > UFS+SoftUpdates. >=20 > At any rate, we are in the year 2010, most modern operating systems = and > databases and able to survive an unclean shutdown without booting into > single user mode and file system/data corruption. >=20 > I love FreeBSD, and have been a user since 2.x but its a bit = frustrating > that whenever power fails I have to do this.. >=20 >=20 > On Sat, May 8, 2010 at 10:57 PM, Bobby Walker = wrote: >=20 >> On May 8, 2010, at 8:36 PM, Ansar Mohammed wrote: >>=20 >>> Hello All, >>> I have a FreeBSD VM running. Whenever I reboot the VM without a = clean >>> shutdown it boots into single user mode and I have to run fsck. >>>=20 >>> When I run fsck, the file system clearly has issues. >>>=20 >>> Is there any way to have FreeBSD run on a better file system that = wont >> crap >>> out on me everytime I do and unclean shutdown? >>> _______________________________________________ >>> 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" >>>=20 >>=20 >> I am far from an expert on this topic, but under what situation is it = good >> to take any OS down suddenly? Is this an unavoidable event of some = sort? >>=20 >> If this is a timed event, that happens on a regular basis, then you = should >> be able to issue a timed shutdown prior to that so that the operating = system >> goes down cleanly. >>=20 >> Any file system that is taken down abruptly, repeatedly will see >> degradation. Databases and open files, not to mention any data that = is >> being written from/to the hard disk are all meant to be taken down = and >> cleared out properly. >>=20 >> I'm not certain that a different file system is the solution, it = might just >> be a band-aid on the greater problem, which is eliminating the sudden = power >> loss that's simulated by shutting off a VM. >>=20 >> -- Bobby_______________________________________________ Okay, I just took my VM down abruptly, and I had no problems coming back = up automatically.=20 That makes me wonder exactly how your fstab is set, would you mind = posting yours if it deviates too much from what mine looks like? # Device Mountpoint FStype Options = Dump Pass# /dev/ad0s1b none swap sw = 0 0 /dev/ad0s1a / ufs = rw 1 1 /dev/ad0s1e /tmp ufs = rw 2 2 /dev/ad0s1f /usr ufs = rw 2 2 /dev/ad0s1d /var ufs = rw 2 2 /dev/acd0 /cdrom cd9660 = ro,noauto 0 0 >> 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" >>=20 > _______________________________________________ > 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" >=20