[plug] Named nfs exports?
Chris Hoy Poy
chris at hoypoy.id.au
Mon Jan 10 22:32:38 WST 2011
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.
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.
//chris
From: "Lucas van staden" <lvs at dedmeet.com>
To: plug at plug.org.au
Sent: Monday, 10 January, 2011 10:06:28 PM
Subject: Re: [plug] Named nfs exports?
Can't share a symlink as nfs share, I think.
-Lucas
On Mon, Jan 10, 2011 at 9:40 PM, Tim < weirdit at gmail.com > wrote:
I believe you can symlink.
So move things to where you want them, and them symlink /raid1
/raid2.... to the new spots. (On the server exporting the nfs)
Tim
On 10 January 2011 23:27, Brad Campbell < brad at fnarfbargle.com > wrote:
> G'day all,
>
> I've got a largeish network that was built around a set of exports on a
> central server :
>
> /raid1
> /raid2
> /raid3
> /raid4
>
> Is there any way I can re-arrange the server and relocate the mounted
> filesystems without reconfiguring the clients? For a dumb example, something
> like
>
> /raid1 - > /server/backups
> /raid2 -> /server/media
> /raid3 -> /server/work
> /raid4 -> /server/archives
>
> With CIFS and Samba it's a piece of cake, you just change smb.conf and the
> clients are none the wiser. I've just not managed to find a way to do
> something similar with NFS.
>
> I could just migrate the clients to CIFS I suppose, but seeing as it's a
> purely Linux network, I know NFS/UDP is more efficient and it's just easier
> to manage with user mapping.
>
> Suggestions really welcome, I'm at a total loss.
>
> Regards,
> Brad
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
--
Timothy White - Somewhere in Australia
_______________________________________________
PLUG discussion list: plug at plug.org.au
http://www.plug.org.au/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au
_______________________________________________
PLUG discussion list: plug at plug.org.au
http://www.plug.org.au/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20110110/435f254b/attachment.html>
More information about the plug
mailing list