[Top] [All Lists]

Re: Problem repairing filesystem

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Problem repairing filesystem
From: Luciano Chavez <lnx1138@xxxxxxxxxx>
Date: 14 Aug 2002 15:17:39 -0500
Cc: Danny Cox <DCox@xxxxxxxxxxxxxx>, Steve Lord <lord@xxxxxxx>, XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1029353651.21251.100.camel@xxxxxxxxxxxxxxxxxxxxxx>
References: <> <3D5A5D5D.AEE17BD8@xxxxxxxx> <3D5A736B.99998201@xxxxxxxxxxxxxxxx> <1029339359.18361.36.camel@xxxxxxxxxxxxxxxxxxxx> <1029340818.2690.21.camel@chavez> <1029341086.18360.61.camel@xxxxxxxxxxxxxxxxxxxx> <1029344919.1364.14.camel@wiley> <1029353651.21251.100.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 2002-08-14 at 14:34, Eric Sandeen wrote:
> Hi Danny - I started looking at this before I saw your email... want to
> take a look at my patch, and tweak as necessary?  Not tested, but it
> compiles.  :)


Tried the patch on an EVMS device and got the following when the stripe
info is returned for the device:

# mkfs.xfs -f /dev/evms/vol19
log volume is striped, using v2 logs
meta-data=/dev/evms/vol19        isize=256    agcount=8, agsize=32881
data     =                       bsize=4096   blocks=263048, imaxpct=25
         =                       sunit=1      swidth=1 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=1200, version=2
         =                       sunit=1 blks
realtime =none                   extsz=4096   blocks=0, rtextents=0

On other non-EVMS devices, oddly enough if you specify -d
sunit=x,swidth=y, the log sunit is set but version 1 log is used. If you
explicitly use -l sunit=x then the log version is set to 2. I think if
you explicitly specify -d sunit,swidth, it should behave as when the
device returns stripe info. That is, the log version should be set to 2
as well.


Luciano Chavez


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