Server is AMD 64bit w/32GB; OS-Linux pm01 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
What happened-After my PSU blew, installed new one; looked good but unable to mount NFS shares from client. Checking server:
ps aux | grep nfs
pete 140516 0.0 0.0 19248 736 pts/4 S+ 20:09 0:00 grep --color=auto nfs
After a couple of attempts to reinstall I decided to remove and reinstall:
sudo apt-get install nfs-kernel-server nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
open-iscsi watchdog
The following NEW packages will be installed:
nfs-common nfs-kernel-server
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/303 kB of archives.
After this operation, 1,251 kB of additional disk space will be used.
Selecting previously unselected package nfs-common.
(Reading database ... 294719 files and directories currently installed.)
Preparing to unpack .../nfs-common_1%3a1.3.4-2.5ubuntu3.4_amd64.deb ...
Unpacking nfs-common (1:1.3.4-2.5ubuntu3.4) ...
Selecting previously unselected package nfs-kernel-server.
Preparing to unpack .../nfs-kernel-server_1%3a1.3.4-2.5ubuntu3.4_amd64.deb ...
Unpacking nfs-kernel-server (1:1.3.4-2.5ubuntu3.4) ...
Setting up nfs-common (1:1.3.4-2.5ubuntu3.4) ...
Failed to restart nfs-utils.service: Unit run-rpc_pipefs.mount is masked.
Setting up nfs-kernel-server (1:1.3.4-2.5ubuntu3.4) ...
Failed to restart nfs-server.service: Unit mnt-int-data.mount is masked.
Failed to restart nfs-kernel-server.service: Unit proc-fs-nfsd.mount is masked.
invoke-rc.d: initscript nfs-kernel-server, action "restart" failed.
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: inactive (dead)
Jan 17 16:38:36 pm01 systemd[1]: Dependency failed for NFS server and services.
Jan 17 16:38:36 pm01 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jan 17 16:40:08 pm01 systemd[1]: Dependency failed for NFS server and services.
Jan 17 16:40:08 pm01 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jan 18 16:26:55 pm01 systemd[1]: Dependency failed for NFS server and services.
Jan 18 16:26:55 pm01 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jan 18 16:33:31 pm01 systemd[1]: Dependency failed for NFS server and services.
Jan 18 16:33:31 pm01 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jan 19 19:07:19 pm01 systemd[1]: nfs-server.service: Unit cannot be reloaded because it is inactive.
Jan 19 19:08:15 pm01 systemd[1]: nfs-server.service: Unit cannot be reloaded because it is inactive.
Failed to restart nfs-kernel-server, ignoring.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.15) ...
sudo systemctl restart nfs-kernel-server.service
[sudo] password for pete:
Failed to restart nfs-kernel-server.service: Unit proc-fs-nfsd.mount is masked.
'journal -xe' shows nothing related to nfs after the above command.
What are the 'masked' items? Had googled it but nothing helpful that I could see.
This is /etc/fstab:
# internal hard drives
UUID=9f1187ac-d4af-4673-9b72-6618350e78c7 /mnt/int/data ext4 defaults 0 0
UUID=a4571467-15b4-4663-a4d2-01d93cab9eeb /mnt/int/data1 ext4 defaults 0 0
UUID=4b4f358c-4300-4dc9-af9f-e9a80802ca16 /mnt/int/data2 ext4 defaults 0 0
UUID=df3d4194-3863-4b65-ad57-e51e1863f58f /mnt/int/data3 ext4 defaults 0 0
#
# external USB drives
UUID=729fc8c8-5382-4cd2-8a4d-5a306e538e97 /mnt/ext/PLEX ext4 defaults 0 0
#UUID=0e4cc69e-9d5a-445f-84b5-3c8e81733305 /mnt/ext/PHOTOS ext4 defaults 0 0
#UUID=12498fd4-d62f-4675-b244-23d8a19802fb /mnt/ext/Other ext4 defaults 0 0
/etc/exports:
# export internal drives
/mnt/int/data/Public101 192.168.60.0/24(rw,sync,no_subtree_check)
/mnt/int/data/peter/Documents 192.168.60.102(rw,sync,no_subtree_check)
#
# export external drives
#/mnt/ext/Other/Mail 192.168.60.102(rw,sync,no_subtree_check)
#/mnt/ext/Other/Finance 192.168.60.102(rw,sync,no_subtree_check)
#/mnt/ext/Other/Backup 192.168.60.102(rw,sync,no_subtree_check)
#/mnt/ext/Other/Recipes 192.168.60.0/24(rw,sync,no_subtree_check)
Any other info that I can provide?
TIA, Pete