On Wed, 2013-01-30 at 09:43 -0500, Dan Ritter wrote:
> On Wed, Jan 30, 2013 at 02:31:00PM +0000, Edward Ned Harvey (lopser) wrote:
> > I don't happen to have any NFS systems handy right now to test on.
> > 
> > When I google around, everybody's answering the wrong question - I know you 
> > can't hard link local filesystem to a remote filesystem.  I want to know 
> > remote to remote.
> > 
> > mount mynfs:/someexport /home/someexport
> > cd /home/someexport
> > touch foo
> > ln foo bar
> > 
> > Can you hard link a NFS mounted file to another NFS mounted file on the 
> > same NFS system?
> Yes.

Maybe.

> 192.168.0.99:/media on /media/house type nfs4
> (rw,noatime,addr=192.168.0.99,clientaddr=192.168.0.100)
> $ cd /media/house
> $ touch foo
> $ ln foo bar
> $ ls -al foo bar
> -rw-r--r-- 2 nobody nogroup 0 Jan 30 09:41 bar
> -rw-r--r-- 2 nobody nogroup 0 Jan 30 09:41 foo

This may or may not demonstrate what the poster is asking.

<quote>Can you hard link a NFS mounted file to another NFS mounted file
on the same ***NFS system***</quote>

Answer: it depends what you mean by "NFS system".  If you mean local NFS
mount, then yes.  If you mean between two NFS mounts on the save local
host, then no.

Hard links cannot traverse file-systems.

And your remote host [the NFS server] has to support and allow
hard-links.  Which is probably true, but not necessarily true.

-- 
Adam Tauno Williams 
System Administrator, OpenGroupware Developer, LPI 
Fingerprint 8C08 209A FBE3 C41A DD2F A270 2D17 8FA4 D95E D383

_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to