[Ocfs2-users] Recommended settings for mkfs.ocfs2

David Murphy david at icewatermedia.com
Mon Apr 19 07:55:21 PDT 2010


Andrew,

I would make sure  you use  say  large cluster and block sizes if possible
with the inband FS option enabled (you will loose some space but ive noticed
it tends to run a bit better).  
As for the bug, its one ive been fighting with. However using only 2 nodes
will make it take a  long time to occur (took 2 yrs  on my cluster) with 6
nodes.


David

-----Original Message-----
From: ocfs2-users-bounces at oss.oracle.com
[mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of Andrew Robert
Nicols
Sent: Monday, April 19, 2010 9:26 AM
To: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Recommended settings for mkfs.ocfs2

Hi Brian,

Thank you for taking the time to reply.

On Mon, Apr 19, 2010 at 08:53:47AM -0500, Brian Kroth wrote:
> lenny-backports has a 2.6.32 based kernel that might already have the 
> free space fix in it.  I haven't checked yet.

>From what I can tell, the ENOSPC issue isn't fixed until 2.6.33
(http://oss.oracle.com/bugzilla/show_bug.cgi?id=1189#c25) so the version in
backports (or even Squeeze) isn't much help yet I'm afraid.

> Also you don't really explain what you're trying to use the data store 
> for (eg: lots of small files, video files, heavy writes, heavy reads, 
> random, sequential, etc.).  It may impact the options you want to give 
> to mkfs.

Sorry - that didn't occur to me. This is going to be a file store for a
variety of user submitted data for a web application (Moodle). At present we
have a variety of:
* videos
* audio
* images
* database backups (gunzipped tar)
* large files (primarily zip)
* small files

The activity is primarily read with writes too but I'm not sure on the exact
characteristics at present. I'd guess fairly random rather than sequential
and there are periods with heavy writes.

Files are served to 6 frontend web servers over NFS for serving with
Apache2. We've currently got 2.2TB of space used.

Thank you for your input - if there's anything else which would be useful,
I'll see if I can provide it.

Andrew

--
Systems Developer

e: andrew.nicols at luns.net.uk
im: a.nicols at jabber.lancs.ac.uk
t: +44 (0)1524 5 10147

Lancaster University Network Services is a limited company registered in
England and Wales. Registered number: 04311892. Registered office:
University House, Lancaster University, Lancaster, LA1 4YW




More information about the Ocfs2-users mailing list