Problem in sharing Symlink via NFS


 
Thread Tools Search this Thread
Operating Systems Linux Problem in sharing Symlink via NFS
# 1  
Old 10-24-2007
Problem in sharing Symlink via NFS

Hi,

I have created symlink under /.
It is /latest Pointing to /home/users/neel_prog_V1.0.
(Note: I have created this symlink so that when version get changed I will need to change only symlink instead of doing changes in /etc/exports.)

I have shared this symlink with NFS. in /etc/exports I have added following line:

/latest *(rw,sync,no_root_squash)

but when I do showmount -e it shows:

/home/users/neel_prog_V1.0

I want such that it should show /latest. So that when I should mount server:/latest on any nfs client.

How can I do this ?

Thanks
NeeleshG
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Single LUN or multiple smaller LUNs for NFS sharing

We are using Solaris 11 Logical Domains. We NFS share a disk backup area from one LDom to other servers. The share is on a single 1.5 Tb LUN presented to the Control Domain, and as a virtual disk on the NFS server LDom. A 1.5 Tb zpool has been created on the LDom. We now need to provide more disk... (2 Replies)
Discussion started by: SallyB
2 Replies

2. Ubuntu

Samba Sharing Problem

I have 1 Server which was installed With centos 6.2 and there was a Samba Share the Directory /public was shared in the centos Server, its IP address is 192.168.1.15 , And I Have accessed the Share in Ubuntu 12.04 client machines by connect to server just giving IP address and share folder name ,... (1 Reply)
Discussion started by: babinlonston
1 Replies

3. UNIX for Dummies Questions & Answers

Sharing a network mount preferably with NFS

Hello, I would like to share a 9p (Plan 9) passthrough/share to a VM via NFS (using a guest as an NFS server to share a directory from the host) At the moment I am getting the error message: 'exportfs: /share does not support NFS export'... (2 Replies)
Discussion started by: Scratch
2 Replies

4. UNIX for Dummies Questions & Answers

Program sharing on NFS

I am not sure is this plausible... I have just built a NFS master server on a solaris box (secured by NIS) And I have a dozen of virtual machines running 32 and 64 bits linux and windows, running different types of servers. I am not sure is it possible to move most of the programs to the... (6 Replies)
Discussion started by: xstaci
6 Replies

5. Shell Programming and Scripting

ln -s creates symlink in symlink, if [ -f ... ] says file that exists doesn't exist

Hi Forums, I got a little problem, I made a few modifications to the code of the launch script of a testing server(minecraft) and now updating is broken aswell as the automatic directory creation. These Lines somehow create an endless symlink that refers to itself and I don't know how to fix... (0 Replies)
Discussion started by: Xaymar
0 Replies

6. Solaris

NFS sharing across platforms

Hi, Not sure where to post this, I'm sorry and need suggestion if this is wrong section. we are running NFS Server on Solaris 10 and client box is HP-UX 11.11 (Can't apply latest patches/upgrades as in-house appln. doesn't allow) I am able to mount NFS shares from this Solaris box onto all... (4 Replies)
Discussion started by: prvnrk
4 Replies

7. Solaris

Problem with nfs sharing, permission denied for writing.

Hi I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 : on machine 1 (10.10.10.32) : share -F nfs -o rw /u01/portalrepository/ on machine 2 (10.10.10.31) : mount -F nfs... (35 Replies)
Discussion started by: Al-Mothafar
35 Replies

8. High Performance Computing

sharing web files via NFS mount

I'm planning to load balance 2 web servers. I'm considering mounting an NFS share between the 2 servers so they can share the data. My question is: does this setup offset some of the benefits of load balancing? although there are 2 web servers, they both still access a single NFS server. Wouldn't... (2 Replies)
Discussion started by: gaspol
2 Replies

9. Web Development

NFS file sharing among web servers

I'm exploring the possibility of load balancing 2 web servers and have both access an NFS share on an NFS server. I'm wondering which types of data would need to reside on the webservers and the NFS server. Would the entire web directory (HTML, CSS, images, documents) all reside in the NFS server... (1 Reply)
Discussion started by: gaspol
1 Replies

10. Filesystems, Disks and Memory

Sharing ISO images over NFS

I've got a bunch of application CDs that I use here at home under Wine. They are Windows applications and as such, some of them want to see the volume label in order for the application to run. So... just copying the CD-ROM contents to a directory doesn't work. With that in mind, what I've done... (1 Reply)
Discussion started by: deckard
1 Replies
Login or Register to Ask a Question
OCF_HEARTBEAT_SYMLIN(7) 					OCF resource agents					   OCF_HEARTBEAT_SYMLIN(7)

NAME
ocf_heartbeat_symlink - Manages a symbolic link SYNOPSIS
symlink [start | stop | monitor | meta-data | validate-all] DESCRIPTION
This resource agent that manages a symbolic link (symlink). It is primarily intended to manage configuration files which should be enabled or disabled based on where the resource is running, such as cron job definitions and the like. SUPPORTED PARAMETERS
link Full path of the symbolic link to be managed. This must obviously be in a filesystem that supports symbolic links. (required, string, no default) target Full path to the link target (the file or directory which the symlink points to). (required, string, no default) backup_suffix A suffix to append to any files that the resource agent moves out of the way because they clash with "link". If this is unset (the default), then the resource agent will simply refuse to create a symlink if it clashes with an existing file. (optional, string, no default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 15. stop Stops the resource. Suggested minimum timeout: 15. monitor Performs a detailed status check. Suggested minimum timeout: 15. Suggested interval: 60. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 10. EXAMPLE
The following is an example configuration for a symlink resource using the crm(8) shell: primitive p_symlink ocf:heartbeat:symlink params link=string target=string op monitor depth="0" timeout="15" interval="60" SEE ALSO
http://www.linux-ha.org/wiki/symlink_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_SYMLIN(7)