From owner-freebsd-questions@FreeBSD.ORG Sun May 9 03:18:14 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 1A910106566B for ; Sun, 9 May 2010 03:18:14 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from mail-yx0-f175.google.com (mail-yx0-f175.google.com [209.85.210.175]) by mx1.freebsd.org (Postfix) with ESMTP id C88008FC14 for ; Sun, 9 May 2010 03:18:13 +0000 (UTC) Received: by yxe5 with SMTP id 5so1213728yxe.3 for ; Sat, 08 May 2010 20:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=q0AIc4pl2xfEAkZgZKq6UzhSf50swWRFfvw3Ws+3wzw=; b=AwV8h6C9KhkO9hvPX/zn6VZudT/xe5SUwdq6QHpPlNXX+SObmfiPCYl8EMfYGrsn4t 9zaefjvKa5VxeIYCVMl+FxZxkRz0P95iv3KmZR3GXndl9OFJ3WPCVPIqrCK6tvzHk5TL 1p0eao4lKSfSjahwvDO7/wpA0Irpj7WxDJqQE= 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=QCIBLmGKMv4TuIuLq/5fPKVL9QRCt0yRbm4H+Zgc1blD/c70JBKPDVshsoKDaI3vTI T2D0YzQKzO/nh7aif/LHXP9fntvBus7YL/IF5BC3MKMv2cef5fr9GPhd3qekbGrhzKVS zmuOZTK4LoDBu5PcXTjH5BVTapOb52IFu+PUA= MIME-Version: 1.0 Received: by 10.231.191.145 with SMTP id dm17mr1098723ibb.17.1273375092602; Sat, 08 May 2010 20:18:12 -0700 (PDT) Received: by 10.231.119.97 with HTTP; Sat, 8 May 2010 20:18:12 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 May 2010 23:18:12 -0400 Message-ID: From: Ansar Mohammed To: Bobby Walker Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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:18:14 -0000 Hello Bobby, The VM is in my lab environemnt. I have many flavours of Windows, Linux and FreeBSD. FreeBSD is my firewall running PF. 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. 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. 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. 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.. On Sat, May 8, 2010 at 10:57 PM, Bobby Walker wrote: > On May 8, 2010, at 8:36 PM, Ansar Mohammed wrote: > > > 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. > > > > When I run fsck, the file system clearly has issues. > > > > 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" > > > > 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? > > 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. > > 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. > > 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. > > -- Bobby_______________________________________________ > 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" >