Hi there!
I own a second hand hackberry a10 with an arch build. I already mounted a usbd drive, which I am trying to connect to an openelec machine with an NFS share. The drive mounts with no problems, but when following the nfs quide https://wiki.archlinux.org/index.php/NFS I can't get the the rpc-idmapd.service and rpc-mountd.service enabled.
My entries for etc/idmapd.conf are usual:
$this->bbcode_second_pass_code('', '[General]
Verbosity = 1
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = hackberry
[Mapping]
Nobody-User = nobody
Nobody-Group = nobody
[Translation]
Method = nsswitch
')
My /etc/fstab has no sd card, but has a usb hard drive mounted properly and the nfs share bind is working as well (is the problem here, because there is no /proc line in fstab???):
$this->bbcode_second_pass_code('', '#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda1 /mnt/seagate ext4 defaults 0 0
/mnt/seagate/music /srv/nfs4/music none bind 0 0
')
And /etc/exports
$this->bbcode_second_pass_code('', '/srv/nfs4/ 192.168.1.33/24(rw,fsid=root,no_subtree_check)
/srv/nfs4/music 192.168.1.33/24(rw,no_subtree_check,nohide)')
When running rpc-idmapd.service I get a $this->bbcode_second_pass_code('', 'Dependency failed for NFSv4 ID-name mapping daemon.') error in journalctl.
rpc.mountd.service gives me the following error:
$this->bbcode_second_pass_code('', '-- Unit nfsd.service has begun starting up.
Aug 25 02:03:46 hackberry rpc.nfsd[318]: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Aug 25 02:03:46 hackberry rpc.nfsd[318]: Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the pr
Aug 25 02:03:46 hackberry rpc.nfsd[318]: error starting threads: errno 19 (No such device)
Aug 25 02:03:46 hackberry systemd[1]: nfsd.service: main process exited, code=exited, status=1/FAILURE
Aug 25 02:03:46 hackberry systemd[1]: Failed to start NFS server.
-- Subject: Unit nfsd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit nfsd.service has failed.
--
-- The result is failed.
Aug 25 02:03:46 hackberry systemd[1]: Dependency failed for NFS Mount Daemon.')
I have no idea what the problem could be, because it is my first time working on an arm archiecture and I quit using arch linux when it switched to systemd, because I was really accustomed to using init scripts. Any comment would be helpful. Thanks.