[GRLUG] NFS and Symlinks

Roberto Villarreal rvillarreal at mktec.com
Fri May 19 15:03:35 EDT 2006


Not sure exactly what you are trying to accomplish... without knowing your 
intentions, I would think it'd be cleaner to move your data outside the tree 
anyway, and symlink from the data directory to the mountpoint.  That way, if 
you decided to use app-1.0 instead of 1.2, it'd just be a matter of changing 
the symlink from the 1.0 data directory to point to your mount, instead of 
remounting the volume...

Roberto

On Friday 19 May 2006 2:14 pm, zdennis wrote:
> I've got a directory structure:
>   - /opt/myapp-1.0/
>      lib/
>      bin/
>      data/
>   - /opt/myapp-1.1/
>      lib/
>      bin/
>      data/
>   - /opt/myapp-1.2/
>      lib/
>      bin/
>      data/
>
> Then I've got a symlink "/opt/myapp" which points to "/opt/myapp-1.2".
> However, inside of my /opt/myapp-1.2 directory I need to mount some NFS
> data directories. To simplify things I tried to validate the path as
> "/opt/myapp/data/", however NFS complains because it is using the full path
> "/opt/myapp-1.2/data/" and it doesn't have permissions to mount there.
>
> Is there a way around this? If not I can going to move my supporting data/
> directory outside of the whole /opt/myapp directory tree. Thanks,
>
> Zach
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug


More information about the grlug mailing list