[fedfs-utils] Configuring FedFS domain roots

J. Bruce Fields bfields at fieldses.org
Tue Apr 9 11:47:25 PDT 2013


On Tue, Apr 09, 2013 at 02:39:29PM -0400, Chuck Lever wrote:
> My concern with tmpfs is that when the server reboots, wouldn't the
> file handles change?  Another alternative would be to allocate a 20MB
> file in / or /var, create a filesystem on that, then loopback mount
> it.

Yeah, I guess.

Export a fuse filesystem that you implement as part of fedfs?

> Creating a physical /.domainroot directory on the server is a little
> sneaky too.  Is there a guru-approved way I can have the domain root
> mounted, say, under /var/lib/fedfs and then export it as /.domainroot?

Like you say, you could bind mount it.

In theory there's no reason you can't remap things inside mountd too (it
gets an upcall on every mountpoint crossing, you can return whatever
weird thing you want...).  I don't know if that's a good idea.

--b.



More information about the fedfs-utils-devel mailing list