Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp376315pxu; Fri, 23 Oct 2020 03:15:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzosEQ6SWn7FGVhiusgOueONkQYhnDPbZa3/D0EnnQR6ToWfM7rC1tgJUPvxYCIC9bnTWAD X-Received: by 2002:a05:6402:941:: with SMTP id h1mr1379403edz.154.1603448116699; Fri, 23 Oct 2020 03:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603448116; cv=none; d=google.com; s=arc-20160816; b=XwnBxk5prCu07HXvS7zny8+5+7YByWlJEx3XGxGu4j/b2rFLTOJB3VhZBRvZuGJFlx aca/KWbj5rT2WOalgnbbuHxsyB1SgzUmlFp8DSKvl98VZCnpsERVfDZ4/ELandldq6NU bn7Uj0RWvDELIu7k0V5a049kRO1X5ldaKjfwOXvdFQxvwKB1bo7uCILTQOo4GCxmJ0lw vWBTCsJ4Qs3LwJCQvw5xMv/4oyhvfVgBFeftMs5ylv5Mjf6RsFBt+3c5bSJD+FrzwcT7 d5DbhtoLXS0KJMvhuDVfj6OcvnXktE3rmCv7VS/M4HMlErt3Nx24FkZjpGwRokgGb4HO cvaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=0tlIytENbNd3G7krIV219gExAgj570mX+2GR9JVhMy4=; b=r0ymeXAJLpyXe7XP90K37kEX5+emhEhZ6hjGLZYlV5TYDBGOw41nbYdFVs9pY1DXQd Iz721dr8yjkUFnttj364u/dTNRttYdUMmvt/bjJF8PJEVbh+rYVDESm3jmldyOoUmzyo ufnPD2BgQP8rgWWgRZVUvh70oOcVDUwavibuAfa9jZpOcgpLXd6OVwi/gvTG+V7MWPf9 uyupgOQXq/0gLmxuZEO2NLI/QQ60Oan05TR3uIDAODj6w+mA/MjtqwoPw/ferYNmCYlK rL4a/tD9RC6NxpPkg1qXL+ioj3lePe91/9YS1wsb1GiDQDo5vJP3s5OBLFF1PjQdV4/Q i6bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BLYte7WT; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck18si512661ejb.379.2020.10.23.03.14.43; Fri, 23 Oct 2020 03:15:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BLYte7WT; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S461989AbgJWKNQ (ORCPT + 99 others); Fri, 23 Oct 2020 06:13:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S461988AbgJWKNP (ORCPT ); Fri, 23 Oct 2020 06:13:15 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EC36C0613CE for ; Fri, 23 Oct 2020 03:13:15 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id o26so1597354ejc.8 for ; Fri, 23 Oct 2020 03:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0tlIytENbNd3G7krIV219gExAgj570mX+2GR9JVhMy4=; b=BLYte7WTtTVSfrQBsVCN7i/ni5+WpUWrJC//LHiNj1P/v9F0ki8W+ideu9qdybHx0U 1QsT9GMBur31nnK6J6tK7S6w1TVPKHUQNbu9Eb49W5LnZ5xvgxw51mGVfrGzKGIMbBtn Rhqpm6e63zg+NYjLd2VuEF2ZJnBdcebQSguGRt3esFYExoC28Sd1K4oEM+piC+0nzmMq fVCuDApuGILFISICm7M3oS2gf0WKRCIthI49uAkT+F09rnALyASXT6BsCTWEwil9VteI xUI/gdFlY+5Jp13XyNFfL79ayfNxunFebfE6W/uWO7aNw4AUI3xK1V5070Chz0MDByny kmow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0tlIytENbNd3G7krIV219gExAgj570mX+2GR9JVhMy4=; b=lOspYnJHDAlbA8t2fcGQyYSjc5KjP7lPQDg+Ei1xDKQBt0e/jVUoH3VImHpYPaEyWD 98hliJhkU4zUR5Z7QiaxQkg+kRtJ3p1Em+unXK3RYf8Zu/X59C5jTTu0UeglJojkvqAu B2HIGY6cUPAyiQJXf7o/Ev1N1L8tMEMSvn8mOvw/kbu/m0Lae0/e+263HUNv++eZCTty l+DhYoIerzRVVi4KOl11i2XbGG0K51TlryL6Lb6X05FYRbFhQhc+Cz9q449HEK5srFYi Y2MGbPjCmnU4kPBnwm5TFos76gHmUGApRz6CkN7k4gTFGeEJ1oDxY1FzYhI4VrGvUguX hWSw== X-Gm-Message-State: AOAM533laE22HnE0btC3IaujZS/gEwFZgMfvjlKNSO9kz5gofqNNXXHg 8IHdPOuQuXTEClFJsjCK7jXtSCtL11LEAzI6EcA4uo01orOzdg== X-Received: by 2002:a17:906:1246:: with SMTP id u6mr1186202eja.432.1603447993399; Fri, 23 Oct 2020 03:13:13 -0700 (PDT) MIME-Version: 1.0 From: Vasyl Vavrychuk Date: Fri, 23 Oct 2020 13:13:02 +0300 Message-ID: Subject: Hard linking symlink does not work To: linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org 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