xfs
[Top] [All Lists]

PARTIAL TAKE 801063 - mkfs.xfs after having ext2 mounted on a device can

To: nathans@xxxxxxxxxxxxxxxxxxxx
Subject: PARTIAL TAKE 801063 - mkfs.xfs after having ext2 mounted on a device can fail
From: pv@xxxxxxxxxxxxxxxxxxxxxx (nathans@xxxxxxxxxxxx)
Date: Thu, 7 Sep 2000 17:15:10 -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/07/00             *Modified User : nathans              
*Modified User Domain : engr          *Fix Description :
From: nathan scott <nathans@xxxxxxxxxxxxxxxxxxxxxxx> (PARTIAL)
Date: Sep 07 2000 05:15:10PM
[pvnews version: 1.71]
----------------------------

Steve,

Please let me know whether this fixes your write error.
I've also put a mkfs binary at babylon:/tmp/mkfs.xfs -
could you run this one too, then send me the output and
core file which it generates.

thanks.


Modid:  2.4.0-test1-xfs:slinx:73917a
Date:  Thu Sep  7 15:57:41 PDT 2000
Workarea:  snort:/build4/nathans/linux-xfs
Author:  nathans

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs

cmd/xfs/mkfs/xfs_mkfs.c - 1.176
        - remove the zero-512-bytes code to overwrite the potential last
          EFS superblock - unnecessary on Linux.
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: lord@xxxxxxx (BugWorks)
Date: Sep 07 2000 01:07:34PM
==========================

I have modified libsim in the past to attempt to fix this, I
never got a fix I was comfortable with. Dumping out the
ioctl results was an easy one though.

The driver was scsi - no lvm involved, it is an adaptec
controller.

Since it is 100% repeatable here, I can try anything you can
think of.

<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 801063 - mkfs.xfs after having ext2 mounted on a device can fail, nathans@xxxxxxxxxxxx <=