Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: uggla on October 05, 2013, 02:22:03 PM
-
The only nfs server package I can find is nfs-kernel-server. It doesen't work.
My /etc/exports:
/home/tc 192.168.1.0/24(rw,no_subtree_check,no_root_squash,async)
$ sudo service nfs-kernel-server start
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsdrpc.nfsd: unable to resolve ANYADDR:nfs to inet address: Servname not supported for ai_socktype
rpc.nfsd: unable to resolve ANYADDR:nfs to inet6 address: Servname not supported for ai_socktype
rpc.nfsd: unable to set any sockets for nfsd
failed!
-
I saw this one early on, since it is a commonly used protocol I will revisit it and get it working.
-
I am making progress with this,there is only one issue left concerning Debian's mount whereas the busybox one works flawlessly. At least on my setup. Needs startup script work like TC packages often do. I will post the changes in the next day to allow testing.
-
Ok, I seem to have it figured out. Debian's mount assumes nfs version 4, so version 3 has to be specified on the command line when mounting nfs shares normally exported by nfs-kernel-server. "mount -o vers=3" does the trick.
I have made the needed adjustments to the startup scripts and dependency requirements, so please import and test.
The filesystems-3.8.10-tinycore package needs to be used for nfs server use.
The ipv6-3.8.10-tinycore is needed for ipv6 support.
-
Seems to work fine. :)
-
Ah! I've been failing to start a server, and couldn't figure out why. I just saw the "filesystem-XXX is required" in your post, Jason W ... damn, I should have read the extension description more closely ... [sigh].
Thanks for that.
-
dentonlt - glad it is working. When fixes materialize I intend to get the needed info into the packages' README files so one can type "readme.sh nfs-kernel-server" and get the needed instructions. But of course, documentation tends to lag behind.
Anyone feel free to submit READMEs based on experience or forum threads, it would be a great help. At this point the submitting can be via forum thread attachments.