Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245130

Re: Mounting NFS share from Synology NAS

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Mounting NFS share from Synology NAS
Date Wed, 09 Feb 2022 10:50:01 +0100
Message-ID <DORLP-AVG-1@gated-at.bofh.it> (permalink)
References <DM3q9-2pa-1@gated-at.bofh.it> <DM4cx-2Uz-1@gated-at.bofh.it> <DM4vT-31E-5@gated-at.bofh.it> <DMmsN-5BL-7@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Wed Feb 9 09:49:22 2022
Old-Return-Path <andreimpopescu@gmail.com>
X-Amavis-Spam-Status No, score=-12.179 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Gm-Message-State AOAM530inBCUhiLe5Nd92qCGViy2trHtS0PyZOvD8KtyTIK702rr5nL3 pQu+xZW3RwJ5s4wCuf+yZFTNGYWPDso=
X-Google-SMTP-Source ABdhPJwmMbkuCziAKu5H3/Gj3AJzeX/bv+TdaFBJCKrSd/92E+YVgPcjPkM/wwecVciNDBGTVEKAEw==
X-Received by 2002:a17:906:7316:: with SMTP id di22mr1186109ejc.505.1644400145396; Wed, 09 Feb 2022 01:49:05 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="si6b6bjio3gvj4ht"
Content-Disposition inline
User-Agent NeoMutt/20180716
X-Mailing-List <debian-user@lists.debian.org> archive/latest/785934
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20220209094901.rvpdkuwliicmqlbw@acr13.nuvreauspam
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 9 Feb 2022 10:49:01 +0100
X-Original-Message-ID <20220209094901.rvpdkuwliicmqlbw@acr13.nuvreauspam>
X-Original-References <219041c9-2b2f-ac77-34cf-887591f23f04@t-online.de> <Yflfx3RnVqYszxTV@helium.itcfollmann.com> <YfljQbq5F3cMqVAR@wooledge.org> <sm0pmo5trn1.fsf@lakka.kapsi.fi>
Xref csiph.com linux.debian.user:245130

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mi, 02 feb 22, 13:49:38, Anssi Saari wrote:
> Greg Wooledge <greg@wooledge.org> writes:
> 
> > I'm unclear on how NFS v4 works.  Everything I've read about it in the
> > past says that you have to set up a user mapping, which is shared by
> > the client and the server.  And that this is *not* optional, and *is*
> > exactly as much of a pain as it sounds.
> 
> I've never done that, as far as I remember. NFS (NFSv4, these days)
> mounts in my home network use autofs but I haven't done anything there
> either specifically for NFS of any verstion. I remember there was some
> weirdness at some point with NFSv4 and I didn't bother with it much. I
> had maybe two computers back then so not much of network. But over the
> years my NFS mounts just became NFSv4.

Are you sure you're actually using NFSv4? (check 'mount | grep nfs').

In my experience in order to make NFSv4 work it's necessary to configure 
a "root" share with fsid=0 or something like that and mount
the actual shares using a path relative to it (my NFS "server" is 
currently down, so I can't check exactly what I did).

> Access for me is by UID. Service is by the kernel driver or in the case
> of zfs, the NFS service it provides. I've thought about setting up
> Kerberos but haven't gotten around to it. One thing is, I don't know if
> Kerberos would work with the NFS service zfs provides? No big deal
> either way though.

As far as I know ZFS is using the kernel NFS server, it's just providing 
a convenient method to share / unshare so it's not necessary to mess 
with /etc/exports if all your shares are ZFS data sets.

(zfs-utils Suggests: nfs-kernel-server and 
https://wiki.debian.org/ZFS#NFS_shares implies the same)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-01 16:40 +0100
  Re: Mounting NFS share from Synology NAS Henning Follmann <hfollmann@itcfollmann.com> - 2022-02-01 17:30 +0100
    Re: Mounting NFS share from Synology NAS Greg Wooledge <greg@wooledge.org> - 2022-02-01 17:50 +0100
      Re: Mounting NFS share from Synology NAS Tixy <tixy@yxit.co.uk> - 2022-02-01 21:10 +0100
      Re: Mounting NFS share from Synology NAS Anssi Saari <as@sci.fi> - 2022-02-02 13:00 +0100
        Re: Mounting NFS share from Synology NAS gene heskett <gheskett@shentel.net> - 2022-02-02 13:40 +0100
          Re: Mounting NFS share from Synology NAS Bob Weber <bobrweber@gmail.com> - 2022-02-02 23:10 +0100
            Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-03 00:40 +0100
            Re: Mounting NFS share from Synology NAS Tixy <tixy@yxit.co.uk> - 2022-02-03 09:00 +0100
              Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-03 11:10 +0100
        Re: Mounting NFS share from Synology NAS Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-09 10:50 +0100
          Re: Mounting NFS share from Synology NAS Anssi Saari <as@sci.fi> - 2022-02-10 15:30 +0100
    Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 02:10 +0100
      Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 14:40 +0100
  Re: Mounting NFS share from Synology NAS Bob Weber <bobrweber@gmail.com> - 2022-02-01 17:40 +0100
    Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 00:10 +0100

csiph-web