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
symlink(2)							   System Calls 							symlink(2)

NAME
symlink - make a symbolic link to a file SYNOPSIS
#include <unistd.h> int symlink(const char *name1, const char *name2); DESCRIPTION
The symlink() function creates a symbolic link name2 to the file name1. Either name may be an arbitrary pathname, the files need not be on the same file system, and name1 may be nonexistent. The file to which the symbolic link points is used when an open(2) operation is performed on the link. A stat() operation performed on a symbolic link returns the linked-to file, while an lstat() operation returns information about the link itself. See stat(2). Unexpected results may occur when a symbolic link is made to a directory. To avoid confusion in applications, the readlink(2) call can be used to read the contents of a symbolic link. RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is returned, errno is set to indicate the error, and the symbolic link is not made. ERRORS
The symlink() function will fail if: EACCES Search permission is denied for a component of the path prefix of name2. EDQUOT The directory where the entry for the new symbolic link is being placed cannot be extended because the user's quota of disk blocks on that file system has been exhausted; the new symbolic link cannot be created because the user's quota of disk blocks on that file system has been exhausted; or the user's quota of inodes on the file system where the file is being created has been exhausted. EEXIST The file referred to by name2 already exists. EFAULT The name1 or name2 argument points to an illegal address. EILSEQ The path argument includes non-UTF8 characters and the file system accepts only file names where all characters are part of the UTF-8 character codeset. EIO An I/O error occurs while reading from or writing to the file system. ELOOP Too many symbolic links are encountered in translating name2. ENAMETOOLONG The length of the name2 argument exceeds PATH_MAX, or the length of a name2 component exceeds NAME_MAX while _POSIX_NO_TRUNC is in effect. ENOENT A component of the path prefix of name2 does not exist. ENOSPC The directory in which the entry for the new symbolic link is being placed cannot be extended because no space is left on the file system containing the directory; the new symbolic link cannot be created because no space is left on the file sys- tem which will contain the link; or there are no free inodes on the file system on which the file is being created. ENOSYS The file system does not support symbolic links. ENOTDIR A component of the path prefix of name2 is not a directory. EROFS The file name2 would reside on a read-only file system. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
cp(1), link(2), open(2), readlink(2), stat(2), unlink(2), attributes(5) SunOS 5.11 18 May 2007 symlink(2)