FS#6171 - problem with XFS realtime volumes.

Attached to Project: Arch Linux
Opened by Christ Schlacta (aarcane) - Saturday, 06 January 2007, 10:23 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 09 January 2007, 22:08 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


[aarcane@kropstnega media]$ sudo mkfs.xfs -L xfs -d unwritten=0 -i attr=2,maxpct=5 -l version=2 -r rtdev=/dev/mapper/spare-xfs--realtime /dev/spare/xfs -f
meta-data=/dev/spare/xfs isize=256 agcount=8, agsize=6400 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=51200, imaxpct=5
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=1200, version=2
= sectsz=512 sunit=0 blks
realtime =/dev/mapper/spare-xfs--realtime extsz=65536 blocks=6144, rtextents=384
[aarcane@kropstnega media]$ grep xfs /etc/fstab
/dev/spare/xfs /media/xfs xfs defaults 0 0
[aarcane@kropstnega media]$ sudo mount xfs
mount: Function not implemented
[aarcane@kropstnega media]$ dmesg | tail -n 3
eth0: no IPv6 routers present
Filesystem "dm-2": Disabling barriers, not supported by the underlying device
XFS: RT mount failed
[aarcane@kropstnega media]$

the above commands should have created a filesystem of type XFS on the device /dev/mapper/spare-xfs and a region for XFS filesystem realtime data in /dev/mapper/spare-xfs--realtime. however, it either did not create the realtime volume, or the kernel refuses to mount it for some reason. I'm not sure which. the end result is a documented feature is severely broken in it's current state.
This task depends upon

This task blocks these from closing
 FS#6031 - 0.8 installation ISO showstoppers 
Closed by  Tobias Powalowski (tpowa)
Thursday, 11 January 2007, 18:44 GMT
Reason for closing:  Fixed
Comment by Christ Schlacta (aarcane) - Tuesday, 09 January 2007, 06:38 GMT
zgrep -i xfs /proc/config.gz shows that
# CONFIG_XFS_RT is not set
among other things.

if the next kernel release sets that to y, this bug can be closed.
Comment by Tobias Powalowski (tpowa) - Wednesday, 10 January 2007, 18:33 GMT
ah cool yes i'll add it
Comment by Tobias Powalowski (tpowa) - Thursday, 11 January 2007, 18:44 GMT
fixed in and higher