Hello,
I'm trying to use realtime subvolumes under Linux (SuSE 8.1, running
kernel 2.4.19-64GB-SMP (I know it is very old!!)
The hardware: I'm using a 3ware RAID controller, and am using RAID level
0 (all eight 120GByte disks together are seen as one disk of 960 GByte device).
Now I want to use this entire 960 GBytes for my realtime data, and want
to place metadata on ramdisk. When I try:
dop93:> mkfs -t xfs -f -d unwritten=0 -r rtdev=/dev/sda1 /dev/ram1,
I get warnings on block size of ramdisk. And when I try to mount the
device with: mount -t xfs -o rtdev /dev/sda1 - the call never returns.
Am I doing something very gross? Thanks.
-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
**************************************************************************
|