1 |
I've apparently forgotten whatever little I may have know about |
2 |
setting up nfs from having used it long ago. |
3 |
|
4 |
I found a brief help page on google that I used to get this far along |
5 |
at: |
6 |
http://linux-bsd-sharing.blogspot.com/2008/09/howto-setup-nfs-server-on-gentoo.html |
7 |
|
8 |
Its very brief and has no debugging info. |
9 |
|
10 |
Also I see nothing about debugging in /etc/conf.d/nfs either. |
11 |
|
12 |
After setting all nfs related kernel items and booting the kernel. |
13 |
Checking that mods appears to be installed and running. Making sure |
14 |
portmapper is running. |
15 |
|
16 |
Then when I try to start nfs service if it fails. |
17 |
|
18 |
Producing these messages in syslogd: |
19 |
Jan [...] nfsd[29077]: nfssvc: Protocol not supported |
20 |
Jan [...' : RPC: failed to contact local rpcbind server (errno 5). |
21 |
|
22 |
Only one of the nfssvc lines appear but the RPC line appears several |
23 |
times. |
24 |
|
25 |
I got the impression from google that nfssvc was related to nfs4 so |
26 |
may not mean too much ... but not sure. |
27 |
|
28 |
I don't really know what info would be helpfull but have included |
29 |
output from emerge, rpcinfo, lsmod and related kernel settings: |
30 |
|
31 |
qlop |
32 |
[...] |
33 |
Sat Jan 10 18:30:11 2009 >>> net-libs/libnfsidmap-0.21-r1 |
34 |
Sat Jan 10 18:30:30 2009 >>> net-nds/portmap-6.0 |
35 |
Sat Jan 10 18:31:20 2009 >>> dev-libs/libevent-1.4.9 |
36 |
Sat Jan 10 18:32:39 2009 >>> net-fs/nfs-utils-1.1.4 |
37 |
|
38 |
===== * ===== * ===== * ===== |
39 |
|
40 |
kernel: |
41 |
# grep 'NFS\|RPC' .config |
42 |
|
43 |
# CONFIG_AF_RXRPC is not set |
44 |
CONFIG_NFS_FS=m |
45 |
CONFIG_NFS_V3=y |
46 |
CONFIG_NFS_V3_ACL=y |
47 |
CONFIG_NFS_V4=y |
48 |
CONFIG_NFSD=m |
49 |
CONFIG_NFSD_V2_ACL=y |
50 |
CONFIG_NFSD_V3=y |
51 |
CONFIG_NFSD_V3_ACL=y |
52 |
CONFIG_NFSD_V4=y |
53 |
CONFIG_NFS_ACL_SUPPORT=m |
54 |
CONFIG_NFS_COMMON=y |
55 |
CONFIG_SUNRPC=m |
56 |
CONFIG_SUNRPC_GSS=m |
57 |
CONFIG_SUNRPC_REGISTER_V4=y |
58 |
CONFIG_RPCSEC_GSS_KRB5=m |
59 |
# CONFIG_RPCSEC_GSS_SPKM3 is not set |
60 |
|
61 |
===== * ===== * ===== * ===== |
62 |
|
63 |
rpcinfo -p localhost |
64 |
|
65 |
# rpcinfo -p localhost |
66 |
program vers proto port |
67 |
100000 2 tcp 111 portmapper |
68 |
100000 2 udp 111 portmapper |
69 |
100024 1 udp 34971 status |
70 |
100024 1 tcp 43460 status |
71 |
100005 1 udp 34365 mountd |
72 |
100005 1 tcp 44349 mountd |
73 |
100005 2 udp 34365 mountd |
74 |
100005 2 tcp 44349 mountd |
75 |
100005 3 udp 34365 mountd |
76 |
100005 3 tcp 44349 mountd |
77 |
|
78 |
===== * ===== * ===== * ===== |
79 |
|
80 |
lsmod |
81 |
|
82 |
Module Size Used by |
83 |
nfs 206772 0 |
84 |
nfsd 185008 9 |
85 |
lockd 55160 2 nfs,nfsd |
86 |
nfs_acl 2688 2 nfs,nfsd |
87 |
auth_rpcgss 28548 1 nfsd |
88 |
sunrpc 144584 9 nfs,nfsd,lockd,nfs_acl,auth_rpcgss |
89 |
exportfs 3456 1 nfsd |
90 |
fuse 42268 0 |
91 |
usbhid 13588 0 |
92 |
usbmouse 3712 0 |
93 |
usbkbd 4992 0 |
94 |
floppy 45348 0 |
95 |
pcspkr 2176 0 |
96 |
i2c_i801 7952 0 |
97 |
r8169 26500 0 |
98 |
i2c_core 17680 1 i2c_i801 |
99 |
mii 4224 1 r8169 |
100 |
snd_intel8x0 25500 0 |
101 |
snd_ac97_codec 88352 1 snd_intel8x0 |
102 |
ehci_hcd 28684 0 |
103 |
uhci_hcd 18444 0 |
104 |
ac97_bus 1536 1 snd_ac97_codec |
105 |
snd_pcm 48008 2 snd_intel8x0,snd_ac97_codec |
106 |
snd_timer 15364 1 snd_pcm |
107 |
snd 34788 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer |
108 |
usbcore 104760 6 usbhid,usbmouse,usbkbd,ehci_hcd,uhci_hcd |
109 |
snd_page_alloc 7304 2 snd_intel8x0,snd_pcm |
110 |
intel_agp 22588 1 |
111 |
agpgart 25520 1 intel_agp |
112 |
button 5904 0 |