Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Filesystem errors with VirtIO

121 views
Skip to first unread message

Philipp

unread,
Jan 20, 2014, 10:39:51 AM1/20/14
to
Hi everyone,

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.

After running the machine for 48 hours with a freshly installed
FreeBSD 10 several soft update inconsistencies occur:

# fsck
** /dev/vtbd0p2 (NO WRITE)

USE JOURNAL? no

** Skipping journal, falling through to full fsck

SETTING DIRTY FLAG IN READ_ONLY MODE

UNEXPECTED SOFT UPDATE INCONSISTENCY
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

LINK COUNT DIR I=11075332 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 20 15:06 2014 COUNT 0 SHOULD BE 1
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

LINK COUNT DIR I=11316145 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 20 15:26 2014 COUNT 0 SHOULD BE 1
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

UNREF FILE I=11316146 OWNER=root MODE=100644
SIZE=227096 MTIME=Jan 20 15:26 2014
CLEAR? no

LINK COUNT DIR I=11316147 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 20 15:34 2014 COUNT 0 SHOULD BE 1
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

LINK COUNT DIR I=11316148 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 20 15:49 2014 COUNT 0 SHOULD BE 1
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

UNREF FILE I=11316150 OWNER=root MODE=100644
SIZE=928 MTIME=Jan 20 15:49 2014
CLEAR? no

LINK COUNT DIR I=11333352 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 20 15:18 2014 COUNT 0 SHOULD BE 1
LINK COUNT INCREASING
UNEXPECTED SOFT UPDATE INCONSISTENCY

ADJUST? no

** Phase 5 - Check Cyl groups
250807 files, 860388 used, 36209947 free (8179 frags, 4525221 blocks,
0.0% fragmentation)

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=write fsbn 24162"
occured).

Can someone confirm these problems with VirtIO? What else can I do?

Regards, Philipp
_______________________________________________
freeb...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-...@freebsd.org"

kri...@tvnetwork.hu

unread,
Jan 20, 2014, 11:55:21 AM1/20/14
to

Do you have OCZ SSD's?

http://lkcl.net/reports/ssd_analysis.html

Kojedzinszky Richard
Euronet Magyarorszag Informatikai Zrt.

On Mon, 20 Jan 2014, Philipp wrote:

> Date: Mon, 20 Jan 2014 16:39:51 +0100
> From: Philipp <mailin...@cypresscreek.de>
> To: freeb...@freebsd.org
> Subject: Filesystem errors with VirtIO

Philipp

unread,
Jan 20, 2014, 12:08:42 PM1/20/14
to
No, but thanks for the hint. Actually, my provider has serious issues
with the RAID my virtual server is using.

Thank you.

On Mon, 20 Jan 2014 17:55:21 +0100 (CET)
kri...@tvnetwork.hu wrote:

>
> Do you have OCZ SSD's?
>
> http://lkcl.net/reports/ssd_analysis.html
>
> Kojedzinszky Richard
> Euronet Magyarorszag Informatikai Zrt.

John Nielsen

unread,
Jan 21, 2014, 12:04:10 PM1/21/14
to
On Jan 20, 2014, at 8:39 AM, Philipp <mailin...@cypresscreek.de> 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.
>
> After running the machine for 48 hours with a freshly installed
> FreeBSD 10 several soft update inconsistencies occur:
> [fsck output trimmed]
>
> 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=write fsbn 24162"
> occured).
>
> 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
0 new messages