From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mBT4nBVv027915 for ; Sun, 28 Dec 2008 22:49:13 -0600 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5B1C44DB94 for ; Sun, 28 Dec 2008 20:49:10 -0800 (PST) Received: from mail.sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id eHOM8yQzWVLhE7io for ; Sun, 28 Dec 2008 20:49:10 -0800 (PST) Message-ID: <495856A7.6040608@sandeen.net> Date: Sun, 28 Dec 2008 22:48:39 -0600 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: xfs_db 2.9.8: coredump References: <49551073.5090704@redhat.com> <20081228223917.GC22525@disturbed> In-Reply-To: <20081228223917.GC22525@disturbed> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Justin Piszcz , Alan Piszcz , xfs@oss.sgi.com Dave Chinner wrote: > On Fri, Dec 26, 2008 at 12:52:10PM -0500, Justin Piszcz wrote: >> On Fri, 26 Dec 2008, Justin Piszcz wrote: >>> On Fri, 26 Dec 2008, Eric Sandeen wrote: >>>> Justin Piszcz wrote: >>>>> # xfs_db -V >>>>> xfs_db version 2.9.8 >>>>> >>>>> p34:~# xfs_db -c frag -f /dev/sda1 >>>>> Segmentation fault (core dumped) >>>>> p34:~# xfs_db -c frag -r /dev/sda1 >>>>> Segmentation fault (core dumped) >>>>> >>>>> (It was working BEFORE I ran xfs_fsr on it, it was at 16% fragmentation). >>>>> >>>>> Now it can no longer check it? > > xfs_db works on the block device under the filesystem, not the > filesystem. Also, the block device on linux caches blocks, so > after running xfs_fsr the filesystem layout has changed but the > underlying block device now has a stale cache. hence xfs_db is > probably being pointed off into la-la land by the stale block > device cache. Ah, missed the part about doing it online. Probably shouldn't segfault though, I suppose. -Eric _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs