bug? "directory flags set on non-directory inode 2877105"
Hi.
On two servers using 3.0.x kernels I've got like 10 mln of "directory flags set on non-directory inode xxx" errors when doing xfs_repair. Doesn't look like a corruption issue, right?
Was there a bug in 2.6.3x or 3.0.x kernels that could get these flags set in such wrong way?
ps. using project quota on both servers/fses
Signature · 6 lines
Arkadiusz Miśkiewicz, arekm / maven.pl _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 6 lines · Arkadiusz Miśkiewicz
Hi.
On two servers using 3.0.x kernels I've got like 10 mln of "directory flags set on non-directory inode xxx" errors when doing
xfs_repair. Doesn't look like a corruption issue, right?
Can you run a xfs_io stat command on one ofthe files so we can see what flag is set? i.e.
$ xfs_io -c stat $file
Quoted 2 lines
Was there a bug in 2.6.3x or 3.0.x kernels that could get these flags set in such wrong way?
Not that I know of.
Quoted 1 line
ps. using project quota on both servers/fses
Which makes me think that the project quota inheritance flag has been recursively set on all files, not just directories. The code allows that to occur, even though it only has meaning for directory inodes. If this is the case, then the above warning and removal of the flag is harmless.
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 11 lines · Dave Chinner
Quoted 5 lines · Arkadiusz Miśkiewicz
Hi.
On two servers using 3.0.x kernels I've got like 10 mln of "directory flags set on non-directory inode xxx" errors when doing
xfs_repair. Doesn't look like a corruption issue, right?Can you run a
xfs_iostat command on one ofthe files so we can see what flag is set? i.e.$ xfs_io -c stat $file
Third machine and P flag is there on regular file:
# LC_ALL=C xfs_io -c stat /home/somefile.txt
fd.path = "/home/somefile.txt"
fd.flags = non-sync,non-direct,read-write
stat.ino = 2169031643
stat.type = regular file
stat.size = 4934
stat.blocks = 16
fsxattr.xflags = 0x200 [--------P-----]
fsxattr.projid = 45039
fsxattr.extsize = 0
fsxattr.nextents = 1
fsxattr.naextents = 0
dioattr.mem = 0x200
dioattr.miniosz = 512
dioattr.maxiosz = 2147483136
Quoted 6 lines
Quoted 3 lines
Was there a bug in 2.6.3x or 3.0.x kernels that could get these flags set in such wrong way?
Not that I know of.
Quoted 7 lines
Quoted 1 line
ps. using project quota on both servers/fses
Which makes me think that the project quota inheritance flag has been recursively set on all files, not just directories. The code allows that to occur, even though it only has meaning for directory inodes. If this is the case, then the above warning and removal of the flag is harmless.
Seems to be it.
xfs_quota probably needs a fix to don't do that then when in recursive mode.
Quoted 3 lines
Cheers,
Dave.
Signature · 6 lines
Arkadiusz Miśkiewicz, arekm / maven.pl _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs