xfs
[Top] [All Lists]

Re: LBD patch and XFS problem!

To: Gustavo Rincon <grincon@xxxxxxxxxxx>
Subject: Re: LBD patch and XFS problem!
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 16 Dec 2003 15:43:33 -0600
Cc: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>, Tony Lambert <tlambert@xxxxxxxxxxx>, Ben McMillan <ben@xxxxxxxxxxx>
In-reply-to: <E923357F2279D411B9F500508BAEE83702A4CC3A@hqntex1.ciprico.com>
Organization: Eric Conspiracy Secret Labs
References: <E923357F2279D411B9F500508BAEE83702A4CC3A@hqntex1.ciprico.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, 2003-12-15 at 14:46, Gustavo Rincon wrote:

> I created a filesystem using mkfs.xfs on a 2.7Terabyte md devices (Two 1.5
> Terabytes LUN defined in a 3ware 8000 raid controller) and the output was:
> 
> meta-data=/dev/md0               isize=256    agcount=32, agsize=22888728
> blks
>          =                       sectsz=512  
> data     =                       bsize=4096   blocks=732439296, imaxpct=25
>          =                       sunit=8      swidth=16 blks, unwritten=1
> naming   =version 2              bsize=4096  
> log      =internal log           bsize=4096   blocks=32768, version=1
>          =                       sectsz=512   sunit=0 blks
> realtime =none                   extsz=65536  blocks=0, rtextents=0

I think you may have run into a problem with large AGs (Allocation
Groups).  Your AGs above are very large, which is a feature recently
added to XFS.

Can you try re-making the filesystems with 4G AGs?  This should happen
automatically with xfsprogs < 2.6.0, or you can use the
-d agsize=4g option.  Either way, you should see about 700 for the
"agcount" value, and your (agsize * bsize) should be less than 4G (in
bytes) in the mkfs output.  Or put another way, agsize should come out
to 1048576 in mkfs output (if I got all my math right).

If that makes the problem go away, we probably know where to look.

Thanks,

-Eric

-- 
Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.          651-683-3102


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