Ubuntu 20.04 Cloud Image: missing nfsd.ko module in linux-kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Invalid
|
Undecided
|
Unassigned | ||
linux-meta-kvm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just installed the Ubuntu 20.04 LTS minimal cloud image (from here: https:/
apt install nfs-server
But it fails to start with these errors in journalctl:
Apr 10 18:03:55 servername01 systemd[1]: Starting Preprocess NFS configuration...
-- Subject: A start job for unit nfs-config.service has begun execution
-- Defined-By: systemd
-- Support: http://
--
-- A start job for unit nfs-config.service has begun execution.
--
-- The job identifier is 563.
Apr 10 18:03:55 servername01 mount[9668]: mount: /proc/fs/nfsd: unknown filesystem type 'nfsd'.
Apr 10 18:03:55 servername01 systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited, status=32/n/a
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://
--
-- An n/a= process belonging to unit proc-fs-nfsd.mount has exited.
--
-- The process' exit code is 'exited' and its exit status is 32.
Apr 10 18:03:55 servername01 systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://
--
-- The unit proc-fs-nfsd.mount has entered the 'failed' state with result 'exit-code'.
Apr 10 18:03:55 servername01 systemd[1]: Failed to mount NFSD configuration filesystem.
-- Subject: A start job for unit proc-fs-nfsd.mount has failed
-- Defined-By: systemd
-- Support: http://
--
-- A start job for unit proc-fs-nfsd.mount has finished with a failure.
--
-- The job identifier is 556 and the job result is failed.
Apr 10 18:03:55 servername01 systemd[1]: Dependency failed for NFS Mount Daemon.
"mount: /proc/fs/nfsd: unknown filesystem type 'nfsd'." ... So it seems, that the nfsd kernel module is missing:
# modprobe nfsd
modprobe: FATAL: Module nfsd not found in directory /lib/modules/
I can't figure out how to install this for the running kernel.
Any idea?
I see you are running the kvm kernel flavor, and indeed I don't see the nfsd.ko module, nor a package named like linux-modules- extra-kvm, which, in the case of the other cloud kernels, does have nfsd.ko.
I'm changing this bug to be about the linux kernel, as they can answer best why nfsd.ko is not present, and in the meantime I suggest you install another kernel flavor, like perhaps linux-image- virtual.