Received: by oss.sgi.com id ; Mon, 11 Sep 2000 11:10:01 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:32036 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 11 Sep 2000 11:09:30 -0700 Received: from feature.engr.sgi.com (gate-feature.engr.sgi.com [130.62.42.134]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA08036; Mon, 11 Sep 2000 11:16:08 -0700 (PDT) mail_from (pv@feature.engr.sgi.com) Received: (from pv@localhost) by feature.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id LAA11419; Mon, 11 Sep 2000 11:08:09 -0700 (PDT) Date: Mon, 11 Sep 2000 11:08:09 -0700 (PDT) Message-Id: <200009111808.LAA11419@feature.engr.sgi.com> X-Pv-Incident: 801241 Reply-To: sgi.bugs.xfs@fido.engr.sgi.com From: pv@fddi-odin.corp.sgi.com (jones@tacc.cc.utexas.edu.sgi.com) Subject: ADD 801241 - xfsdump can cause filesystem corruption To: dxm@cthulhu.engr.sgi.com Cc: linux-xfs@oss.sgi.com Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing Submitter : ivanr Status : open Assigned Engineer : dxm Priority : 1 *Modified Date : 09/11/00 *Modified User : jones *Modified User Domain : tacc.cc.utexas.edu *Description : QA for xfsdump/xfsrestore revealed that it is possible for xfsdump to cause filesystem corruption. The test involves creating a filesystem, creating a whole buncha files, xfsdumping them to a file somewhere, then removing all the files. xfs_check reports lots of inodes with zero link counts, etc. It's probably due to xfsdump using bulkstat on the entire fs. The following is a script which will reliably (at least on bruce.melbourne) produce the error. Run it in cmd/xfs/stress - it needs the src/fill program, and make sure you fix the ..... ========================== ADDITIONAL INFORMATION (ADD) From: william l jones Date: Sep 11 2000 11:08:09AM [pvnews version: 1.71] ========================== One small observation. If I create a xfs file system and then untar a set of files to it and then run xfs_check I get errors. They look like the same error that I get if run xfsdump and then remove the files before running xfs_check. If I umount the file system and run xfs_repair I don't find any errors. Bill Jones