LSFMM: FedFS
A short session on the Federated Filesystem (FedFS) was led by Chuck Lever at the 2013 LSFMM Summit. He mostly wanted to try to reach a consensus on how to store redirection information for particular files in FedFS.
Lever started with a brief overview of FedFS, which aggregates multiple network filesystems into a single namespace. The idea is that an administrator could set up multiple NFS and Samba servers that all appear to a client to be in a single filesystem namespace.
In order to handle filesystems that move to a different server or location, FedFS uses objects called "junctions" that contain information about where the filesystem has gone. The client can read that information and redirect requests to the proper location. FedFS uses extended attributes (xattrs) on a directory to store that information. Lever said that the current implementation uses XML, though attendees suggested using JSON instead.
Samba has a different representation for the junction information. It stores it as the target of a symbolic link. Jeremy Allison suggested sticking with symbolic links as any new inode type for a junction would be Linux-specific. In the end, it was agreed that FedFS could use both the xattrs and the target of a symbolic link, so that both Samba and FedFS would be able to use the information.
Index entries for this article | |
---|---|
Kernel | Filesystems/Federated filesystem |
Conference | Storage, Filesystem, and Memory-Management Summit/2013 |