Modprobe NFS

TechLineX

Active Member
Mar 2, 2015
213
5
38
Installed a NFS-Server at proxmox host. But every time I got the error no such device (500).


Code:
root@host:~# modprobe nfs
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.6-1-pve/modules.dep.bin'

Code:
root@host11:~# lsmod | grep nfs
root@host11:~#



Code:
pveversion -v
proxmox-ve: 4.4-76 (running kernel: 4.4.6-1-pve)
pve-manager: 4.4-1 (running version: 4.4-1/eb2d6f1e)
pve-kernel-4.4.35-1-pve: 4.4.35-76
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-101
pve-firmware: 1.1-10
libpve-common-perl: 4.0-83
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-70
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.4-1
pve-qemu-kvm: 2.7.0-9
pve-container: 1.0-88
pve-firewall: 2.0-33
pve-ha-manager: 1.0-38
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.6-2
lxcfs: 2.0.5-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80

nfs-kernel-server & nfs-common are running

Code:
ls -l /lib/modules/$(uname -r)/kernel/fs
ls: cannot access /lib/modules/4.4.6-1-pve/kernel/fs: No such file or directory

Does the kernel has NFS?


Updated to the new kernel. Hope to get help

Regards
 
Last edited:
  • Like
Reactions: chrone
post the output of:

> pveversion -v
Code:
pveversion -v
proxmox-ve: 4.4-76 (running kernel: 4.4.6-1-pve)
pve-manager: 4.4-1 (running version: 4.4-1/eb2d6f1e)
pve-kernel-4.4.35-1-pve: 4.4.35-76
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-101
pve-firmware: 1.1-10
libpve-common-perl: 4.0-83
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-70
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.4-1
pve-qemu-kvm: 2.7.0-9
pve-container: 1.0-88
pve-firewall: 2.0-33
pve-ha-manager: 1.0-38
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.6-2
lxcfs: 2.0.5-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80

Regards
 
you still run an old version - compare you package list with the list on the link below.

pls follow the hints you get here and upgrade to latest version.
see https://pve.proxmox.com/wiki/Downlo...Proxmox_Virtual_Environment_4.x_to_latest_4.4

apt-get update:

Code:
root@host:~# apt-get update
Ign http://ftp.at.debian.org jessie InRelease
Hit http://ftp.at.debian.org jessie Release.gpg
Get:1 https://enterprise.proxmox.com jessie InRelease [381 B]
Ign https://enterprise.proxmox.com jessie InRelease
Get:2 https://enterprise.proxmox.com jessie Release.gpg [381 B]
Ign https://enterprise.proxmox.com jessie Release.gpg
Hit http://ftp.at.debian.org jessie Release
Get:3 https://enterprise.proxmox.com jessie Release [381 B]
Ign https://enterprise.proxmox.com jessie Release
Get:4 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Get:5 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Hit http://security.debian.org jessie/updates InRelease
Get:6 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:7 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Get:8 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Get:9 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:10 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Get:11 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Get:12 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:13 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Get:14 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Get:15 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:16 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Err https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
  HttpError401
Get:17 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Get:18 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
Hit http://ftp.at.debian.org jessie/main amd64 Packages
Hit http://ftp.at.debian.org jessie/contrib amd64 Packages
Hit http://ftp.at.debian.org jessie/contrib Translation-en
Hit http://ftp.at.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jessie/pve-enterprise/binary-amd64/Packages  HttpError401

E: Some index files failed to download. They have been ignored, or old ones used instead.

Code:
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Last edited:
Code:
proxmox-ve: 4.4-84 (running kernel: 4.4.6-1-pve)
pve-manager: 4.4-12 (running version: 4.4-12/e71b7a74)
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.4.44-1-pve: 4.4.44-84
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-109
pve-firmware: 1.1-10
libpve-common-perl: 4.0-92
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-1
pve-docs: 4.4-3
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-94
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-3
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80

Code:
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.6-1-pve/modules.dep.bin'

Still not usable.. Could it be, that the kernel 4.4.6-1-pve is to new? - The highest version in /lib/modules is 4.4.44-1-pve.
But he tries to use 4.4.6-1-pve, that directory doesn't exist.

Regards
 
Last edited:
did you reboot after the kernel upgrade? if yes, make sure the grub-config is correct

you can update the grub entries with
Code:
update-grub

and maybe post the output of it
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!