[plug] Named nfs exports?
brad at fnarfbargle.com
Mon Jan 10 23:31:59 WST 2011
On 10/01/11 22:32, Chris Hoy Poy wrote:
> NFS will follow symlinks, so you need to export the symlinked location (can be on another server)
> and then make sure your clients can see that NFS export as well. This is handy for putting local
> temp directories in the same place on each of your clients. Also handy if you want to play
> follow-the-NFS-spaghetti game.
Cute (ugly but interesting).
> use mount --bind to make some other directory appear to be at that spot - ie if you create a nice
> big LVM and then use descriptive names and create another tree somewhere else, you can mount --bind
> the relevant roots back to /raid1 etc and it'll work.
Now, this did the job perfectly. Thanks :)
I've used mount -o bind before, but only to mount entire filesystems. I've never used it to splice
single directories before, but it works flawlessly. Now I can re-organise the server and shuffle
stuff around without having to reconfigure any of the clients and I don't have the headache of
dealing with Samba user mapping and permissions.
More information about the plug