This may have been discussed before, but I didn't quite find a solution.
On a SuSE 9.1 based system, with 2.6.18-vanilla and lustre 1.6.1 (but also with different versions), I get a segfault for

# cp etc-ro/ypserver.conf /tmp

where /etc-ro is on a lustre fs, and /tmp is tmpfs.

strace reveals what I think the problem is:

listxattr("etc-ro/ypserv.conf", (nil), 0) = 12
listxattr("etc-ro/ypserv.conf", 0x7ffff79ea200, 12) = 12
getxattr("etc-ro/ypserv.conf", "trusted.lov", (nil), 0) = 56
getxattr("etc-ro/ypserv.conf", "trusted.lov", 0x515af0, 56) = 56
setxattr("/tmp/ypserv.conf", "trusted.lov", 0x515af0, 56, ) = -1 EOPNOTSUPP (Operation not supported)

cp tries to copy the EA, can't create that on tmpfs and I guess doesn't handle the error return gracefully but segfaults. Now that mostly looks like a cp bug, but I'm also wondering whether internals of the fs (the "trusted.lov") should be exposed to a regular userspace application?

--Kai

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to