NFS server failed to start because of missing zfs-mount

Ask questions about Arch Linux ARM. Please search before making a new topic.

NFS server failed to start because of missing zfs-mount

Postby hachel » Tue Jun 01, 2021 12:32 pm

Hello,

when I try to start my nfs server I get the following error message:

$this->bbcode_second_pass_code('', 'Failed to start nfs-server.service: Unit zfs-mount.service not found.')

I haven't set up or (un)installed anything related to zfs, also rebooting and updating doesn't work.

Any help?

Thanks!
hachel
 
Posts: 26
Joined: Fri Mar 07, 2014 3:24 pm

Re: NFS server failed to start because of missing zfs-mount

Postby graysky » Tue Jun 01, 2021 1:48 pm

Do you have any non-standard repos defined in /etc/pacman.conf?
Post the output of:
$this->bbcode_second_pass_code('', 'pacman -Qm')
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: NFS server failed to start because of missing zfs-mount

Postby hachel » Tue Jun 01, 2021 2:09 pm

I have that in pacman.conf:
$this->bbcode_second_pass_code('', '
[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[alarm]
Include = /etc/pacman.d/mirrorlist

[aur]
Include = /etc/pacman.d/mirrorlist
')

$this->bbcode_second_pass_code('', 'alarm% pacman -Qm
python-babelfish 0.5.5-2
python-enzyme 0.4.1-3
python-guessit 3.3.1-1
python-rarfile 4.0-1
python-rebulk 3.0.1-6
python-tvdb_api 3.1-1
subliminal 2.1.0-1
trizen 1:1.64-1
')

Those are all the packages I explicitly installed from AUR.

PS: not a solution, but I was able to start nfs-server by creating a dummy zfs-mount.service file.
hachel
 
Posts: 26
Joined: Fri Mar 07, 2014 3:24 pm

Re: NFS server failed to start because of missing zfs-mount

Postby graysky » Tue Jun 01, 2021 3:04 pm

My files from nfs-utils do not include any references to zfs.

$this->bbcode_second_pass_code('', 'sudo pacman -Qkk nfs-utils')
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: NFS server failed to start because of missing zfs-mount

Postby hachel » Tue Jun 01, 2021 4:13 pm

Hi,

$this->bbcode_second_pass_code('', 'alarm% sudo pacman -Qkk nfs-utils
backup file: nfs-utils: /etc/exports (Modification time mismatch)
backup file: nfs-utils: /etc/exports (Size mismatch)
backup file: nfs-utils: /var/lib/nfs/etab (Modification time mismatch)
backup file: nfs-utils: /var/lib/nfs/etab (Size mismatch)
backup file: nfs-utils: /var/lib/nfs/rmtab (Modification time mismatch)
backup file: nfs-utils: /var/lib/nfs/rmtab (Size mismatch)
warning: nfs-utils: /var/lib/nfs/state (UID mismatch)
warning: nfs-utils: /var/lib/nfs/state (Permissions mismatch)
warning: nfs-utils: /var/lib/nfs/state (Modification time mismatch)
warning: nfs-utils: /var/lib/nfs/state (Size mismatch)
nfs-utils: 111 total files, 1 altered file')

I used the following $this->bbcode_second_pass_code('', 'pacman -Qql nfs-utils') and checked every file with grep but there was no occurrence of zfs in any of them. I'm at a loss as to why this happens...
hachel
 
Posts: 26
Joined: Fri Mar 07, 2014 3:24 pm

Re: NFS server failed to start because of missing zfs-mount

Postby graysky » Tue Jun 01, 2021 5:30 pm

Do you have a systemd dropin for that service or something weird like that? You can download and run lostfiles to see all files not owned by pacman in search of the culprit. You can also grep -r zfs within /usr to see what is calling it assuming it's located there.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to User Questions

Who is online

Users browsing this forum: No registered users and 14 guests