Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] NFS common
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
[Solved] NFS common
Installed Debian 12, newest release. I had experience with Debian before and knew I needed to install nfs-common in order to mount my networkshares. Unfortunatley nfs-common no longer available thru Synaptic? So I downloaded the package from the Debian server but it does not install due to other missing packages that are not available. Installation of the other packages also a problem because of dependencies.
Is there another nfs package that I can install or another solution? I preferably do not want to use samba or cifs.
Is there another nfs package that I can install or another solution? I preferably do not want to use samba or cifs.
Last edited by audiolover on 2023-12-07 15:51, edited 1 time in total.
Re: NFS common
Code: Select all
$ cat /etc/debian_version
12.2
$ aptitude search nfs
p fai-nfsroot - Fully Automatic Installation nfsroot package
v knfs -
p libfile-nfslock-perl - perl module to do NFS (or not) locking
p libnfs-dev - NFS client library (development files)
p libnfs-utils - NFS client library (binaries)
p libnfs13 - NFS client library (shared library)
p libnfsidmap-dev - header files and docs for libnfsidmap
v libnfsidmap-regex -
p libnfsidmap1 - NFS idmapping library
v libnfsidmap2 -
p libyanfs-java - Yet Another NFS - a Java NFS library
v nfs-client -
p nfs-common - Yhteiset NFS-tukitiedostot asiakas- ja palve
p nfs-ganesha - NFS server in User Space
p nfs-ganesha-ceph - nfs-ganesha fsal ceph libraries
p nfs-ganesha-doc - Documentation for nfs-ganesha
p nfs-ganesha-gluster - nfs-ganesha fsal gluster libraries
p nfs-ganesha-gpfs - nfs-ganesha fsal gpfs libraries
p nfs-ganesha-mem - nfs-ganesha fsal mem libraries
p nfs-ganesha-mount-9p - nfs-ganesha mount.9P
p nfs-ganesha-nullfs - nfs-ganesha fsal nullfs libraries
p nfs-ganesha-proxy-v4 - nfs-ganesha fsal proxy v4 libraries
p nfs-ganesha-rados-grace - nfs-ganesha ganesha-rados-grace program
p nfs-ganesha-rgw - nfs-ganesha fsal rgw libraries
p nfs-ganesha-vfs - nfs-ganesha fsal vfs libraries
p nfs-kernel-server - support for NFS kernel server
v nfs-server -
p nfs4-acl-tools - Commandline and GUI ACL utilities for the NF
p nfstrace - NFS tracing/monitoring/capturing/analyzing t
p nfstrace-doc - NFS tracing/monitoring/capturing/analyzing t
p nfswatch - Program to monitor NFS traffic for the conso
v openfst -
p python3-nfs-ganesha - Python bindings for nfs-ganesha
p unionfs-fuse - Fuse implementation of unionfs
arto@dell:~/bin$
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
Re: NFS common
So why I cannot install it? It is not in synaptic and because of dependencies installable?
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: NFS common
Unless you want real, semi-permanent network mounts with tolerable performance/overhead. Neither rsync nor ssh can give me random access to my ZFS pools at ~980MB/s
And yes, NFS works just fine in the current stable. nfs-common hasn't gone anywhere.
Not a particularly good idea in general.audiolover wrote: ↑2023-12-01 09:59I downloaded the package from the Debian server but it does not install due to other missing packages that are not available.
Post your sources.list (and anything under /etc/apt/sources.list.d) and output of 'apt-cache policy', you're probably missing a repository (or all of them, if you installed without selecting a mirror).
No idea, I have no use for synaptic. Use apt/aptitude at the CLI.
Last edited by steve_v on 2023-12-02 00:33, edited 2 times in total.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: NFS common
os: debian 12.2 stable:
It is installed on my pc and nfs works without issues
Code: Select all
apt list nfs-common
Listing... Done
nfs-common/stable,now 1:2.6.2-4 amd64 [installed]
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
Re: NFS common
You're probably missing a repository (or all of them, if you installed without selecting a mirror).
That is it! I installed using wifi during installation and Debian does not let me connect to wifi during installation. So I installed without a mirror.
That is it! I installed using wifi during installation and Debian does not let me connect to wifi during installation. So I installed without a mirror.
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: NFS common
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
Re: NFS common
Installed the newest Debian, now using network and nfs-common is installed. As in previous installations I added the line for mounting my networkdrive to fstab:
192.168.178.xxx:/muziek/overig /mnt/muziek nfs defaults,nofail 0 0
When using " mount -a" I get the message: "mount.nfs: Protocol not supported".
I am stuck, any bright ideas?
192.168.178.xxx:/muziek/overig /mnt/muziek nfs defaults,nofail 0 0
When using " mount -a" I get the message: "mount.nfs: Protocol not supported".
I am stuck, any bright ideas?
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
Re: NFS common
Also, after changing something in fstab I get the message: "mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload".
After running this command I can use mount -a with the error in the previous post
After running this command I can use mount -a with the error in the previous post
Re: NFS common
If you look at you will see that NFS (probably) only supports NFS protocol version 3, 4.0, 4.1 or 4.2.
You have not told us what your NFS server is.
You may want to check that it supports one of the protocol versions mentioned above.
Code: Select all
man nfs
You have not told us what your NFS server is.
You may want to check that it supports one of the protocol versions mentioned above.
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
Re: NFS common
that is it, version 4 of nfs was not activated on mij nas. problem solved, thank you very much!
-
- Posts: 306
- Joined: 2015-06-07 14:38
- Has thanked: 11 times
- Been thanked: 35 times
Re: NFS common
You may want to adjust to a systemd automount and idle timeout. learned this one awhile ago. No manual mucking about
In fstab
Code: Select all
192.168.1.2:/snapraid/pool/music /mnt/servermusic nfs defaults,noauto,x-systemd.automount,x-systemd.idle-timeout=30 0 0
-
- Posts: 62
- Joined: 2013-12-22 15:50
- Been thanked: 1 time
-
- Global Moderator
- Posts: 2981
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 75 times
- Been thanked: 407 times
Re: NFS common
Hello,
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any); for example:
I'm glad you sorted it out. :)audiolover wrote: ↑2023-12-04 16:23 that is it, version 4 of nfs was not activated on mij nas. problem solved, thank you very much!
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any); for example:
Happy Debian ! :)[Solved] Cannot mount NFS share
Re: NFS common
The advantage is that the NFS share is not mounted at boot but only when actually used, then unmounted again when not used for 30 seconds.
By the way: You can leave out options "defaults" and "noauto". They are not necessary.
You should read:
Code: Select all
man systemd.mount
man systemd.automount
Re: NFS common
This is pretty useless information for someone that can't find nfs-common with 12.2 repos.peer wrote: ↑2023-12-01 14:04 os: debian 12.2 stable:It is installed on my pc and nfs works without issuesCode: Select all
apt list nfs-common Listing... Done nfs-common/stable,now 1:2.6.2-4 amd64 [installed]
Re: NFS common
audiolover wrote: ↑2023-12-01 14:09 You're probably missing a repository (or all of them, if you installed without selecting a mirror).
That is it! I installed using wifi during installation and Debian does not let me connect to wifi during installation. So I installed without a mirror.
Soooooo, are you going to tell us WHICH REPO nfs-common is on or what??? Don't post a problem again without also a useful soln if found. Thanks.
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: NFS common
Why? nfs-common is in the main stable repo, as a cursory search on packages.debian.org would reveal.
The appropriate source lines for said repo are on the debian wiki, as they have ever been.
Don't shout at others for not providing you answers on a silver platter when you haven't done even basic research yourself.
Or perhaps you think bumping this 3 month old solved thread thread every 2 minutes will get someone to rush in with the feeding spoon?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.