From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 28 17:10:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C421065672 for ; Wed, 28 Jan 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 953D48FC1A for ; Wed, 28 Jan 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SHA1fk048925 for ; Wed, 28 Jan 2009 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0SHA1La048923; Wed, 28 Jan 2009 17:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jan 2009 17:10:01 GMT Resent-Message-Id: <200901281710.n0SHA1La048923@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Elmar Stellnberger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77586106567D for ; Wed, 28 Jan 2009 17:06:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 64A518FC23 for ; Wed, 28 Jan 2009 17:06:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SH6vlZ029507 for ; Wed, 28 Jan 2009 17:06:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0SH6vjW029506; Wed, 28 Jan 2009 17:06:57 GMT (envelope-from nobody) Message-Id: <200901281706.n0SH6vjW029506@www.freebsd.org> Date: Wed, 28 Jan 2009 17:06:57 GMT From: Elmar Stellnberger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/131084: xfs destroys itself after copying data X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 17:10:02 -0000 >Number: 131084 >Category: misc >Synopsis: xfs destroys itself after copying data >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 17:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Elmar Stellnberger >Release: FreeBSD 7.1 >Organization: >Environment: FreeBSD scaleo.studiob 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: By the way is there any effort to support ext3? Ext2 partitions corrupt on crashes, xfs seems to be unstable. Besides this ext3 would pose the only way to share a common home partition between Linux, FreeBSD and Windows. >Release-Note: >Audit-Trail: >Unformatted: >mkfs.xfs /dev/ad6s7 >mount -t xfs /dev/ad6s7 tmp >cp -a /Users/elm/.thunderbird tmp/ >ls tmp ls: tmp: Input/output error >touch /mnt/tmp/hug touch: /mnt/tmp/hug: Input/output error > umount tmp umount: tmp: stat: Input/output error umount: tmp: unknown file system > mount| grep tmp /dev/ad6s7 on /mnt/tmp (xfs, local) > umount /dev/ad6s7 > mount| grep tmp > xfs_check /dev/ad6s7 ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_check. If you are unable to mount the filesystem, then use the xfs_repair -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this. > mount -t xfs /dev/ad6s7 tmp mount: /dev/ad6s7 : Operation not supported