From owner-freebsd-stable@FreeBSD.ORG Thu Jan 9 12:16:07 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E99F357B for ; Thu, 9 Jan 2014 12:16:07 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A438E1E58 for ; Thu, 9 Jan 2014 12:16:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W1EWq-0005nt-54 for freebsd-stable@freebsd.org; Thu, 09 Jan 2014 13:16:04 +0100 Received: from august.inf.tu-dresden.de ([141.76.48.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jan 2014 13:16:04 +0100 Received: from jsteckli by august.inf.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jan 2014 13:16:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Julian Stecklina Subject: Re: UFS panic on Google Compute Engine Date: Thu, 09 Jan 2014 13:15:52 +0100 Lines: 43 Message-ID: <52CE92F8.9040801@os.inf.tu-dresden.de> References: <20140108193938.GA19267@neutralgood.org> <1389235686.3057.4.camel@janus.xn--pl-wia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: august.inf.tu-dresden.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <1389235686.3057.4.camel@janus.xn--pl-wia.net> X-Enigmail-Version: 1.6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 12:16:08 -0000 On 01/09/2014 03:48 AM, Julian Stecklina wrote: > I checked the local copy of the image I uploaded to GCE and its > filesystem is fine. Must be happened during transfer to GCE. Weird. Okay, I've hit this now the third time. Massive file system corruption. fsck reports lots of UNALLOCATED I=6350 OWNER=root MODE=0 SIZE=0 MTIME=Jan 1 00:00 1970 NAME=/usr/ports/x11-themes/metacity-theme-microgui UNEXPECTED SOFT UPDATE INCONSISTENCY and LINK COUNT DIR I=1175282 OWNER=root MODE=40755 SIZE=512 MTIME=Jan 9 03:28 2014 COUNT 3 SHOULD BE 2 ADJUST? yes LINK COUNT DIR I=1175287 OWNER=root MODE=40755 SIZE=512 MTIME=Jan 9 03:28 2014 COUNT 3 SHOULD BE 2 ADJUST? yes It seems rather easy to reproduce. Upload a disk image to GCE and extract ports. I did it via portsnap fetch extract. I am not sure what could go so horribly wrong. In two of three cases the filesystem was beyond repair. As for problem causes: Has the virtio scsi driver changed significantly between FreeBSD 9 and 10? Also weird is that the same virtual disk pops up two times: da0 at vtscsi0 bus 0 scbus0 target 1 lun 0 da0: Fixed Direct Access SCSI-6 device da0: 300.000MB/s transfers da0: 10240MB (20971520 512 byte sectors: 255H 63S/T 1305C) da1 at vtscsi0 bus 0 scbus0 target 1 lun 1 da1: Fixed Direct Access SCSI-6 device da1: 300.000MB/s transfers da1: 10240MB (20971520 512 byte sectors: 255H 63S/T 1305C) Julian