From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 3 02:37:58 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6B343BA8 for ; Sat, 3 Aug 2013 02:37:58 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3E038239C for ; Sat, 3 Aug 2013 02:37:57 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r732AgTK038326 for ; Fri, 2 Aug 2013 19:10:43 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <51FC65DF.2090606@rawbw.com> Date: Fri, 02 Aug 2013 19:07:27 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD Hackers Subject: After the FreeBSD VM crash, file system in VM got rolled back to some old previous state causing data loss Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2013 02:37:58 -0000 I hit this unexpected problem: my host had an ungraceful shutdown while FreeBSD 9.1 STABLE was running in the VirtualBox VM. After reboot of the host and VM, local ufs file system was missing all recent updates for at least 20 hours (!!!) My question is, how is this possible? Is this related to journaled soft-updates which were enabled in VM? Losing data looks like a critical issue. I had a backup outside VM so no real data loss for me, but this is bad. Fedora VM, that was shut down in the same way didn't suffer from the same issue (local ext4). Host shutdown was caused by the frozen Xorg, I had to kill it and reboot. VirtualBox processes got killed in the process. Yuri