Sharing a file system containing nfs- and sshfs-mounts (Centos 5.5 64 Bit)
I'm looking for references, tips, strategies or solutions for the following problem:
There is a linux file-server (Centos 5.5, 64 bit with sshfs and fuse) sharing a directory0 for the local network (win- and linux-clients).
Apart from users documents this directory0 contains 2 more directories (directory1, directory2) that are mount points. A resource of another file server (in the same building) is mounted in directory1 using the nfs3-protocol. And in directory2 there is a mount from an external server (different city) using the sshfs-protocol.
Being on the server one can access directory1 and directory2 (and see contents). But I need to export this file system (containing directory1 and 2) to local linux- and windows clients.
- For the linux export I’m using again nfs but the remote directory1 looks empty (and it is not).
- For the win export I’m using cifs and by trying to browse directory 2 it complains: “access denied” (and this is not because of rights – I can browse a folder with identical rights).
Therefore the questions: I need to share a file system with nfs, cifs, sshfs, but this file system is made up of nfs and sshfs mounts. Does any of the named protocols offer this possibility or do I have the wrong way of thinking about this task? What would be the way to go? Can I mix Kernel- and not Kernel-protocols?
Thanks a lot!
PS: Clients are win7, suse, ubuntu, centos, fedora.
PS2: I failed the same topic using an suse-server too. But it was able to “redirect” ssh->cifs.
Last edited by geolino; 02-07-2011 at 09:38 AM.