| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | creating new array |
| From: | Artur MakÃwka <artur.makowka@xxxxxxxxx> |
| Date: | Tue, 04 Mar 2008 17:31:12 +0100 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=0qmogXXSvrGI+4QZv8oYc26LNe9+HixUt5siDIbf2ms=; b=oyqcWA7h/ZDMrkKNGNd4c7QTJpzb7CqSzBhB+hW/fwGr4tI/iT0921kl0wBTSXr1Pd9A09zrtAWETrgRBRXONm1REE8pFxiint8LpbzfMqh1ZOjznaIxkWnka00SOcq/gORtonAY6iGVblDwiRD/G8RxZYXMvGtC/MCXqfuqFnY= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=EzimavExLjLGoR2gv2ffjfWgayAoFH5e6SlELNhcJFL8g79No69ryn6lXpXLgANWSuCkKNABxCLhcePXOPPb3jjxjK+BVyhXHqgISQfcc+wFF5iHYIfQ4oh+Lfd8kDk+Otnsa/fgvM+ibUxIH6SuqAqVCuB4hMOi0SF3SsL2hfs= |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
|
i want to create new array, because my last one (raid 0) is gone... now
it is going to be raid 5. this will be on xfs fs of course. now the problem is i don't really know what chunk size i should use, to get the best performance, but i can still mount old array read-only and check what is average file size there - just don't know how. (doing ls -lR * , adding sizes and dividing by number is probably going to take days to complete) there was some xfs command that showed it, but i really have no idea what it was, xfs_info doesnt give me much information the currect situation is like this: meta-data=/dev/md0 isize=256 agcount=32, agsize=5723342 blks = sectsz=512 attr=0 data = bsize=4096 blocks=183146912, imaxpct=25 = sunit=2 swidth=6 blks naming =version 2 bsize=4096 log =internal bsize=4096 blocks=32768, version=2 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=24576 blocks=0, rtextents=0
the system is going to have millions of small files, (up to 3MB), or even hundreds of millions (very popular free hosting) could you advice me any xfs and mdadm options? i plan to use lazyblocks option with latest 2.6.24 kernel. any other ideas? this is going to be RAID 5, the stability is NOT very important, i will have full backups, the most important thing is performance. i can get hundreds of hits per second at peak times, i was planning to build it from 5 * 500GB disks and it will be just partition for users file, system is on another disk. (probably on lvm to give me option to resize it in future) fs performance is critical, as i have many thousands of accounts, mostly with just small websites, so it's impossible to put it all in RAM. if you have any xfs/mdadm creating advice (or mounting options), please share with me. i installed xfsprogs 2.9.7, and i will compile 2.6.24 kernel for creation time ( i can even risk using 2.6.25-rcX if there is some important thing changed that i need durning array/filesystem creation, just not -mm as XFS version from -mm once corrupted some of my users files ) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [REVIEW] mkfs.xfs man page needs the default settings updated., Eric Sandeen |
|---|---|
| Next by Date: | corruption in xfs_end_bio_unwritten, Ravi Wijayaratne |
| Previous by Thread: | [REVIEW] mkfs.xfs man page needs the default settings updated., Niv Sardi |
| Next by Thread: | corruption in xfs_end_bio_unwritten, Ravi Wijayaratne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |