xfs
[Top] [All Lists]

Re: problems with real-time option.

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: problems with real-time option.
From: K Ramesh <kram@xxxxxxxxx>
Date: Thu, 28 Aug 2003 17:41:06 +0200 (CEST)
Cc: Steve Lord <lord@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20030826220532.GA769@frodo>
Sender: linux-xfs-bounce@xxxxxxxxxxx

Hello,
        Thanks Nathan, the version of xfsprogs works just fine. I have yet
another question on realtime subvolumes: Is XFS realtime subvolume in Linux
comparable to "raw" device binding that's avaliable in linux now? Both seem to
have the same alignment constraints. Can someone throw light on this issue?
        Say if I expected only to write data in to the disk, does using raw I/O
or realtime subvolumes increases throughput?

Regards
Ramesh


> On Tue, Aug 26, 2003 at 07:10:02AM -0500, Steve Lord wrote:
> > On Tue, 2003-08-26 at 05:29, K Ramesh wrote:
> > >
> > > Hi,
> > >   I'm trying to create a real-time subvolume in my Linux System, running
> > > SuSE 8.1 (Kernel: 2.4.19-64GB-SMP) on a dual-xeon PC. The system has a 
> > > 3ware
> > > ATA-Raid controller.
> > >
> > > When I try to create a real-time subvolume, this what I get:
> > >
> > > wop18:~ # mkfs  -t xfs -f -r rtdev=/dev/sda6 /dev/sda5
> > > meta-data=/dev/sda5              isize=256    agcount=49, agsize=1048576 
> > > blks
> > > data     =                       bsize=4096   blocks=51201147, imaxpct=25
> > >          =                       sunit=0      swidth=0 blks, unwritten=0
> > > naming   =version 2              bsize=4096
> > > log      =internal log           bsize=4096   blocks=6250, version=1
> > >          =                       sunit=0 blks
> > > realtime =/dev/sda6              extsz=65536  blocks=183237382,
> > > rtextents=11452336
> > > XFS: This FS has an RT subvol - specify -o rtdev on mount
> > > mkfs.xfs: real-time device init failed
> > > mkfs.xfs: filesystem failed to initialize
>
> Get a new xfsprogs while you're at it, that'll resolve this error.
>
> > ...
> > Your kernel is almost that old ;-) Realtime should be working in recent
> > kernels, be aware you need to use O_DIRECT to write to realtime
> > subvolumes.
>
> cheers.
>
> --
> Nathan
>
>

**************************************************************************
Ramesh K
(Mo/Tu): Radiosterrenwacht Westerbork, Schattenburg 1, 9433 TA Zwiggelte.
ph: +31-(0)593-598755 fax:+31-(0)593-592486
(We/Th/Fr): Stitching Astron, Oude Hoogeveensedijk 4, 7991 PD Dwingeloo.
ph: +31-(0)521-595255 fax:+31-(0)521-597332
**************************************************************************



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