Skip to contentSkip to conversation

is realtime device supported?

DISCUSSION Wengang Wang 3 participants 6 messages Apr 22, 2010 – Apr 25, 2010

lore
Share & tools
lore
#0 lore raw

Hi experts,

Do we support realtime device?

I got the following error:

[root@desk test-xfsprogs]# mkfs.xfs -rrtdev=/dev/sda12,extsize=4096 /dev/sda10 -f
meta-data=/dev/sda10 isize=256 agcount=4, agsize=1250558
blks

         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=5002231, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =/dev/sda12             extsz=4096   blocks=2502115,

rtextents=2502115
[root@desk test-xfsprogs]# mount /dev/sda10 /xfs
mount: Function not implemented
[root@desk test-xfsprogs]# mount -ortdev=/dev/sda12 /dev/sda10 /xfs
mount: Function not implemented

regards,
wengang.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 3 lines · Wengang Wang

Do we support realtime device?

I got the following error:

It sounds like you do not have CONFIG_XFS_RT enable in your kernel configuration. But to answer your original question the realtime device is not supported in the sense of actively maintained. The code is still there, but more or less for legacy reasons. I would not recommend it for new installations.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 10 lines · Christoph Hellwig
Quoted 3 lines · Wengang Wang

Do we support realtime device?

I got the following error:

It sounds like you do not have CONFIG_XFS_RT enable in your kernel configuration. But to answer your original question the realtime device is not supported in the sense of actively maintained. The code is still there, but more or less for legacy reasons. I would not recommend it for new installations.

Agreed.

FWIW, dmesg probably gave you a more helpful error message than mount...

                cmn_err(CE_WARN, "XFS: RT mount failed");

hm or maybe not ;)

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 11 lines · Eric Sandeen
Quoted 10 lines · Christoph Hellwig
Quoted 3 lines · Wengang Wang

Do we support realtime device?

I got the following error:

It sounds like you do not have CONFIG_XFS_RT enable in your kernel configuration. But to answer your original question the realtime device is not supported in the sense of actively maintained. The code is still there, but more or less for legacy reasons. I would not recommend it for new installations.

Yes, CONFIG_XFS_RT is disabled.
[wwg@desk linux-2.6.18.x86_64]$ grep CONFIG_XFS_RT .config # CONFIG_XFS_RT is not set

And Ok I see. Also should we add the point to man page of mkfs.xfs?

Quoted 9 lines

Agreed.

FWIW, dmesg probably gave you a more helpful error message than mount...

                cmn_err(CE_WARN, "XFS: RT mount failed");

hm or maybe not ;)

Only "XFS: RT mount failed" :)

Thanks all!

regards,
wengang.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
Quoted 20 lines · Wengang Wang
Quoted 10 lines · Eric Sandeen
Quoted 9 lines · Christoph Hellwig
Quoted 3 lines · Wengang Wang

Do we support realtime device?

I got the following error:

It sounds like you do not have CONFIG_XFS_RT enable in your kernel configuration. But to answer your original question the realtime device is not supported in the sense of actively maintained. The code is still there, but more or less for legacy reasons. I would not recommend it for new installations.

Yes, CONFIG_XFS_RT is disabled.
[wwg@desk linux-2.6.18.x86_64]$ grep CONFIG_XFS_RT .config # CONFIG_XFS_RT is not set

And Ok I see. Also should we add the point to man page of mkfs.xfs?

Quoted 2 lines

Agreed.

Quoted 8 lines
Quoted 6 lines

FWIW, dmesg probably gave you a more helpful error message than mount...

                cmn_err(CE_WARN, "XFS: RT mount failed");

hm or maybe not ;)

Only "XFS: RT mount failed" :)

A patch to explicitly say that it failed because CONFIG_XFS_RT was off would be happily accepted, too.

I am curious, are you doing a lot of QA type work on xfs? You are finding some interesting things that could certainly be fixed up, we appreciate it.

Thanks,
-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#5 lore raw

Hi Eirc,

Quoted 24 lines · Eric Sandeen
Quoted 23 lines · Wengang Wang
Quoted 10 lines · Eric Sandeen
Quoted 9 lines · Christoph Hellwig
Quoted 3 lines · Wengang Wang

Do we support realtime device?

I got the following error:

It sounds like you do not have CONFIG_XFS_RT enable in your kernel configuration. But to answer your original question the realtime device is not supported in the sense of actively maintained. The code is still there, but more or less for legacy reasons. I would not recommend it for new installations.

Yes, CONFIG_XFS_RT is disabled.
[wwg@desk linux-2.6.18.x86_64]$ grep CONFIG_XFS_RT .config # CONFIG_XFS_RT is not set

And Ok I see. Also should we add the point to man page of mkfs.xfs?

Quoted 5 lines

Agreed.

FWIW, dmesg probably gave you a more helpful error message than mount...

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
                cmn_err(CE_WARN, "XFS: RT mount failed");

hm or maybe not ;)

Only "XFS: RT mount failed" :)

A patch to explicitly say that it failed because CONFIG_XFS_RT was off would be happily accepted, too.

Yes. I will try to make the patch.

Quoted 3 lines

I am curious, are you doing a lot of QA type work on xfs? You are finding some interesting things that could certainly be fixed up, we appreciate it.

I am just interested in it :). I like to play with various file systems.

regards,
wengang.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs