xfs
[Top] [All Lists]

ADD 801063 - mkfs.xfs after having ext2 mounted on a device can fail

To: nathans@xxxxxxxxxxxxxxxxxxxx
Subject: ADD 801063 - mkfs.xfs after having ext2 mounted on a device can fail
From: pv@xxxxxxxxxxxxxxxxxxxxxx (lord@xxxxxxx)
Date: Wed, 6 Sep 2000 21:45:04 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
 Submitter : lord                      Status : open                        
 Assigned Engineer : nathans           Priority : 3                         
*Modified Date : 09/06/00             *Modified User : lord                 
*Modified User Domain : sgi.com       *Description :
Running mkfs to build an xfs filesystem after a partition has
been mounted as ext2 has periodically failed for me. The failure
is usually this:

[root@lord /]# mkfs -t xfs -f -l size=16000b /dev/sda4
meta-data=/dev/sda4              isize=256    agcount=8, agsize=149104 blks
data     =                       bsize=4096   blocks=1192826, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=16000

.....


==========================
ADDITIONAL INFORMATION (ADD)
From: steve lord <lord@xxxxxxx>
Date: Sep 06 2000 09:45:03PM
[pvnews version: 1.71]
==========================
> 
> Steve,
> 
> Are you using tools built with -DDEBUG defined?
> 
> There's an ASSERT in libxfs/rdwr.c, line 248, which I would have
> expected to have been tripped here ... a core file would be quite
> handy to diagnose this.  I've added a couple more asserts (around
> lseeks) as well now, just in case.
> 

I don't think I am. I will try again with a debug version, I have hit
this a few times, it might be specific to partition layout on my machine.

Also, the strace output might still be there, or I can recreate, ltrace is
a good idea, I forgot about that.

<Prev in Thread] Current Thread [Next in Thread>