From owner-freebsd-fs@FreeBSD.ORG Tue Jan 21 17:17:27 2014 Return-Path: Delivered-To: freebsd-fs@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 3EFEC352 for ; Tue, 21 Jan 2014 17:17:27 +0000 (UTC) Received: from ns1.jnielsen.net (secure.freebsdsolutions.net [69.55.234.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 20E971316 for ; Tue, 21 Jan 2014 17:17:26 +0000 (UTC) Received: from [10.10.1.198] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by ns1.jnielsen.net (8.14.4/8.14.4) with ESMTP id s0LH4EuW099242 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 21 Jan 2014 12:04:15 -0500 (EST) (envelope-from lists@jnielsen.net) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Filesystem errors with VirtIO From: John Nielsen In-Reply-To: <20140120163951.7fe4c1f8@calavera> Date: Tue, 21 Jan 2014 10:04:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8B7FDAA2-D987-4824-9826-B975552194F8@jnielsen.net> References: <20140120163951.7fe4c1f8@calavera> To: Philipp X-Mailer: Apple Mail (2.1827) X-DCC--Metrics: ns1.jnielsen.net 1282; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: clamav-milter 0.97.8 at ns1.jnielsen.net X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 17:17:27 -0000 On Jan 20, 2014, at 8:39 AM, Philipp = wrote: > I'm running FreeBSD 10.0-RELEASE on a virtualized KVM server. I'm > using VirtIO from base to access NIC and HDD directly. Filesystem is > UFS2 with Journaling and SU. Last week I had to reinstall FreeBSD > because the salvation of the several filesystem errors wasn't possible > anymore. I don't have any evidence but I guess it has something to do > with the VirtIO driver. >=20 > After running the machine for 48 hours with a freshly installed > FreeBSD 10 several soft update inconsistencies occur: > [fsck output trimmed] >=20 > After a reboot different inconsistencies appear. I had the very same > problems with 9.2-RELEASE, which caused the need of a reinstallation > of the OS (errors like "vtbd0: hard error cmd=3Dwrite fsbn 24162" > occured). >=20 > Can someone confirm these problems with VirtIO? What else can I do? FWIW I've been running multiple FreeBSD VMs atop KVM+virtio for some = time and haven't seen any issues like this. My VMs include FreeBSD 9.2 = and 10.0-RC on both UFS and ZFS. What can you tell us about the underlying storage? LVM volume? iSCSI? = Qcow2 or other disk image file? If so, what type of filesystem is it on? = etc. JN