You are not logged in.

#1 2021-07-22 07:33:08

archer108
Member
From: Zurich Switzerland
Registered: 2007-08-28
Posts: 59

[SOLVED] mount point problem with NFS share on a LUKS partition

I like to share Pacman cache with NFS. On a client it works not using encrypted disk, with a encrypted disk somehow the NFS share can not be mounted.

Jul 22 08:57:46 secure-virtualbox systemd[1]: Failed to mount /mnt/pkgcache.
 Subject: A start job for unit mnt-pkgcache.mount has failed
 Defined-By: systemd
 Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
 
 A start job for unit mnt-pkgcache.mount has finished with a failure.
 
 The job identifier is 962 and the job result is failed.

my /etc/fstab looks like this on the encrypted disk

/dev/mapper/luks-ebfd9ba7-c7f7-4b9c-ae0c-15d1c6b481cb /              ext4    defaults,noatime 0 1
/dev/mapper/luks-f3a7385e-de0b-4e11-8614-c030438d65d6 swap           swap    defaults,noatime 0 0
192.168.43.124:/var/cache/pacman/pkg      /mnt/pkgcache   nfs noauto,nofail,x-systemd.automount,x-systemd.device-timeout=30,_netdev 0 0
 

same mount point on /etc/fstab works with a ext4 partition.
could not find this specific mount problem on my search, guess the problem lays within the mount options for the LUKS /etc/fstab.

regards

Last edited by archer108 (2021-07-22 08:12:17)

Offline

#2 2021-07-22 07:56:05

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] mount point problem with NFS share on a LUKS partition

systemctl status mnt-pkgcache.mount

?
Maybe a crng issue (check your journal for when crng is done)?

https://wiki.debian.org/BoottimeEntropyStarvation
https://wiki.archlinux.org/title/Haveged

Offline

#3 2021-07-22 08:17:57

archer108
Member
From: Zurich Switzerland
Registered: 2007-08-28
Posts: 59

Re: [SOLVED] mount point problem with NFS share on a LUKS partition

a manual mount works

 mount -t nfs 192.168.43.31:/var/cache/pacman/pkg  /mnt/pkgcache

may be related to the client who runs in a virtualbox session, would have to try it on a real client box to see if it is a Entropy problem, thanks seth

Last edited by archer108 (2021-07-22 08:18:29)

Offline

Board footer

Powered by FluxBB