Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245176
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod |
|---|---|
| From | Anssi Saari <as@sci.fi> |
| Newsgroups | linux.debian.user |
| Subject | Re: Mounting NFS share from Synology NAS |
| Date | Thu, 10 Feb 2022 15:30:01 +0100 |
| Message-ID | <DPiCl-ScP-5@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> <DORLP-AVG-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Thu Feb 10 14:20:34 2022 |
| Old-Return-Path | <gldu-debian-user-2@m.gmane-mx.org> |
| X-Amavis-Spam-Status | No, score=-6.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| Organization | An impatient and LOUD arachnid |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
| Cancel-Lock | sha1:nbaXHqMk9gpOcRc2KcyUAOQ09aw= |
| Mail-Followup-To | debian-user@lists.debian.org |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/785979 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/sm0wni2pzvt.fsf@lakka.kapsi.fi |
| Approved | robomod@news.nic.it |
| Lines | 36 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 10 Feb 2022 16:20:06 +0200 |
| X-Original-Message-ID | <sm0wni2pzvt.fsf@lakka.kapsi.fi> |
| X-Original-References | <219041c9-2b2f-ac77-34cf-887591f23f04@t-online.de> <Yflfx3RnVqYszxTV@helium.itcfollmann.com> <YfljQbq5F3cMqVAR@wooledge.org> <sm0pmo5trn1.fsf@lakka.kapsi.fi> <20220209094901.rvpdkuwliicmqlbw@acr13.nuvreauspam> |
| Xref | csiph.com linux.debian.user:245176 |
Show key headers only | View raw
Andrei POPESCU <andreimpopescu@gmail.com> writes: > Are you sure you're actually using NFSv4? (check 'mount | grep nfs'). Yes I'm sure. It's all host on path type nfs4 and in options also vers=4.2. Also the bog standard auto.net these days has code to mount using NFSv4. > 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). That's the weirdness I meant. But it's not true, these days and hasn't been for years. Or maybe it's hidden? But I can do, for example: # mount zippy:/tmp /mnt/foo # mount|grep zip zippy:/tmp on /mnt/foo type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.2.119,local_lock=none,addr=10.0.2.126) I don't have anything about that in fstab. This is actually a tmpfs mount where I have fsid=something in /etc/exports but I don't know if that's required today. zfs mounts the same way from zippy and I don't have any fsid stuff there. Of course it could be handled automatically. Autofs mounts a little differently, this is like the old way: zippy:/ on /net/zippy type nfs4 (rw,nosuid,nodev,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.2.119,local_lock=none,addr=10.0.2.126) zippy:/tmp on /net/zippy/tmp type nfs4 (rw,nosuid,nodev,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.2.119,local_lock=none,addr=10.0.2.126) > 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. Good to know.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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