From owner-freebsd-questions@FreeBSD.ORG Wed May 12 22:55:48 2010 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 CB7411065672 for ; Wed, 12 May 2010 22:55:48 +0000 (UTC) (envelope-from crwhipp@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 948128FC16 for ; Wed, 12 May 2010 22:55:46 +0000 (UTC) Received: by pwi9 with SMTP id 9so380582pwi.13 for ; Wed, 12 May 2010 15:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:reply-to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=y/02hXB8/CeKWY5LcOEfW8tduOcvMmrMUMOglWI0EIc=; b=ra2pSMrYDJScZoGRitiFihrV5dJq/+ydUkwG5EHs+ISm6W2lR4AbBes2inUpcTjrhn umC4drtDLNbZt2xx8iOL0359uWQEhjXOyTf3kjkUOa25GoUuXjJgA7GU0zuPZ2GkEUaR BXbgvPCqOIMry0Cdksz/DNIR7wWiVZvhysljk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:reply-to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=T1JW1u3wYTK2Ea3H5SDI1fg4aJR7Ql2P+0IY1p30h+/ousihFi0ztnhTrNBwjJV69m vl1e+a4YXm3g3yYnPcoCc1hGCqnX2k7m+9gIqg41EruVLvoeYhmFUjLj4P/YlICqorxz y7YIfKN+TyjdrdyC6cbjFdcyAl2oIpy23Xo40= Received: by 10.142.149.36 with SMTP id w36mr5892820wfd.228.1273704946535; Wed, 12 May 2010 15:55:46 -0700 (PDT) Received: from whipp.no-ip.org (174-26-146-156.phnx.qwest.net [174.26.146.156]) by mx.google.com with ESMTPS id 22sm450348pzk.1.2010.05.12.15.55.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 May 2010 15:55:44 -0700 (PDT) Received: from whipp.no-ip.org (localhost [127.0.0.1]) by whipp.no-ip.org (Postfix) with ESMTP id 1902FB801F for ; Wed, 12 May 2010 15:55:41 -0700 (MST) Received: from 65.121.28.16 (SquirrelMail authenticated user cwhipp) by whipp.no-ip.org with HTTP; Wed, 12 May 2010 15:55:41 -0700 Message-ID: <1a7012fe7affe8caf4263d4d2c385614.squirrel@whipp.no-ip.org> In-Reply-To: <4BE84825.9060005@gmx.com> References: <4BE84825.9060005@gmx.com> Date: Wed, 12 May 2010 15:55:41 -0700 From: Craig Whipp To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: File system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: crwhipp@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 22:55:48 -0000 On Mon, May 10, 2010 10:53 am, Nikos Vassiliadis wrote: > 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? > > I am really surprised no one proposed geom journaling. With gjournal, > I never had to do a manual full fsck and have had plenty of unclean > shutdowns. I also occasionally do fsck the filesystem and there were > no errors ever found. It definitely adds the ease factor I am looking > for in a journaling sollution in the case of an unclean shutdown... > Correct me if I'm wrong, but since this FreeBSD install is running inside of a VM, in addition to any of the precautions suggested here to get data written or journaled to the disk as safely as possible, isn't there still the issue of whether the VM actuall commits these writes to the physical disk?