All of lore.kernel.org
 help / color / mirror / Atom feed
* Hard linking symlink does not work
@ 2020-10-23 10:13 Vasyl Vavrychuk
  2020-10-27 17:12 ` J. Bruce Fields
  0 siblings, 1 reply; 5+ messages in thread
From: Vasyl Vavrychuk @ 2020-10-23 10:13 UTC (permalink / raw)
  To: linux-nfs

Hi,

I have found that hard links for regular files works well for me over NFS:

$ touch bar
$ ln bar tata

But if I try to make hard link for symlink, then it fails:

$ ln -s foo bar
$ ln bar tata
ln: failed to create hard link 'tata' => 'bar': Operation not permitted

I am using NFSv4 with Vagrant, here is mount entry:

172.28.128.1:PATH on /vagrant type nfs4
(rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=IP,local_lock=none,addr=IP)

I have also verified that rpc-statd is running on host.

Host machine is Ubuntu 18.04 with NFS packages version 1:1.3.4-2.1ubuntu5.3.

Will appreciate help on this.

Thanks,
Vasyl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-06 21:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 10:13 Hard linking symlink does not work Vasyl Vavrychuk
2020-10-27 17:12 ` J. Bruce Fields
2020-10-27 20:03   ` Patrick Goetz
2020-10-28  8:53     ` Vasyl Vavrychuk
2020-11-06 21:46       ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.