xfs
[Top] [All Lists]

Re: error making real-time filesystem + logging question

To: Roy Sigurd Karlsbakk <roy@xxxxxxxxxxxxx>
Subject: Re: error making real-time filesystem + logging question
From: Nathan Straz <nstraz@xxxxxxx>
Date: Tue, 4 Dec 2001 11:29:49 -0600
Cc: "Ralf G. R. Bergs" <rabe@xxxxxxxxxxxxxx>, XFS Mailing list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.30.0112041813080.21659-100000@mustard.heime.net>
Mail-followup-to: Roy Sigurd Karlsbakk <roy@xxxxxxxxxxxxx>, "Ralf G. R. Bergs" <rabe@xxxxxxxxxxxxxx>, XFS Mailing list <linux-xfs@xxxxxxxxxxx>
References: <E16BJ59-0001TN-00@ADSL-Bergs.RZ.RWTH-Aachen.DE> <Pine.LNX.4.30.0112041813080.21659-100000@mustard.heime.net>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.23i
On Tue, Dec 04, 2001 at 06:14:09PM +0100, Roy Sigurd Karlsbakk wrote:
> On Tue, 4 Dec 2001, Ralf G. R. Bergs wrote:
> 
> > On Tue, 4 Dec 2001 17:45:35 +0100 (CET), Roy Sigurd Karlsbakk wrote:
> >
> > >I'm trying to make a real-time filesystem
> >
> > This is from http://oss.sgi.com/projects/xfs/102_caveats.html
> >
> > > Realtime volumes not implemented
> > >
> > > Realtime volumes are not yet tested in XFS Linux and should not be used.
> >
> > I guess that pretty much says it all... :-)
> ok.. bummer!
> 
> I really need to increase some sort of chunk size dramatically. Do you
> know any other way of doing this? I also want the log somewhere else, like
> on a separate spindle. I may be able to use ReiserFS to do this, but I
> don't know yet.

Realtime subvolumes is on my things to test before the next release.  I
don't know when it will get done, but it will take a bit of test
development to do it.  Realtime files on XFS require an ioctl, so apps
will need some work to support them.

To create an external log, you should use something like:

           mkfs.xfs -l logdev=/dev/sdb1,size=10000b /dev/sda1

Where /dev/sda1 is your XFS partition and /dev/sdb1 is your log
partition on a separate spindle.  Adjust size= to fit your application.  

As far as "chunk size" is concerned, you probably want to look at
something like "-d sunit=,swidth=".  Read more about these in the
mkfs.xfs man page.  

-- 
Nate Straz                                              nstraz@xxxxxxx
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/


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