|
Post by crazyeddie on Aug 28, 2007 21:46:18 GMT 7
Hi getmythe,
okay, in NFSD setup I entered /module nouid... Mounting /raid/module failed... (permission denied) showmount -e shows /raid/module
I'm not sure, if its possible to mount this dir. Which uids have access there?
SSH is not installed, not yet...
CrazyEddie
|
|
|
Post by getmythe on Aug 29, 2007 2:29:03 GMT 7
Without ssh access it's rather difficult to diagnose problems. I suggest you install the SSH module first and then start attacking the problem from the console. On Ubuntu mounting /raid/module (as user root) was a no brainer, ...
mkdir /mnt/module mount -t nfs thecusgrey:/raid/module /mnt/module
|
|
|
Post by crazyeddie on Aug 30, 2007 0:08:39 GMT 7
SUCCESS!!!
The SSH-Module is running!!!! I got root-access.
N4100Plus:/# ls app/ dev/ img/ opt/ root/ tmp@ var.tar.gz bin/ etc@ lib/ proc/ sbin/ usr/ boot/ home/ mnt/ raid/ sys/ var/
Okay, the raid-directory exists.
N4100Plus:/raid# ls Music/ Storage/ USBHDD/ ftproot/ lost+found/ nsync/ sys/ tmp/ Photos/ Video/ home/ module/ record/ test/
My record-dir, too. How can I find out now, whats wrong with the NFSD-module?
|
|
|
Post by getmythe on Aug 30, 2007 0:38:32 GMT 7
Stop then restart the nfsd module from the command line, there should not be any warning or error messages.
/raid/module/NFSD/shell/module.rc stop /raid/module/NFSD/shell/module.rc start
Next, check if the port mapper is running, ...
ps | grep NFSD
there should be two processes listed which belong to nfsd
/raid/module/NFSD/bin/portmap /raid/module/NFSD/bin/rpc.mountd --
Afterwards, log out and check if your Linux distro does allow nfs mounts. Google is your friend, try search string "SuSe nfs mount" and you should be able to find out if you have nfs support enabled properly.
|
|
|
Post by crazyeddie on Aug 30, 2007 23:24:21 GMT 7
Hi getmythe, first I must thank for your patience. But the problem is still not solved. To your suggestions: /raid/module/NFSD/shell/module.rc stop answer: killall: nfsd: no process killed start leaves no message ps | grep NFSD shows the two processes To my linux distri: I tried the same with Suse, knoppix and on neutrino (over telnet on dbox). Everytime the same result. Server says premission denied... I don't know but my suspicion is that there is a problem with the uids and their permissions. I got a problem with the ssh-module, too. Allow SSH to user logins won't work at all. I only get access as root. My linux-knowledge contains only the experience of the last days. But slowly I become better. CrazyEddie
|
|
|
Post by getmythe on Aug 31, 2007 3:51:57 GMT 7
Your nfs server is running alright, must be something else. I do not have a dbox but a dreambox 500 which is almost identlcal. Mounting an nfs share took half a minute, but it worked. I diagnosed the problem by typing 'dmesg' on the console of the dreambox where I found these messages.
portmap: server localhost not responding, timed out RPC: failed to contact portmap (errno -5). Do you see any messages on your client using 'dmesg' after a failed attempt?
A few more things to check/try: disable any firewall you might have, make sure both machines are in the same subnet, enable mapping to a known user on the options page, type 'cat /etc/exports' on your thecus to get a list of shares with their options (should look similar to the lines below)
/raid/iTunes 192.168.1.0/24(rw,async,insecure,all_squash,anonuid=1004,anongid=102) /raid/Movies 192.168.1.0/24(rw,async,insecure,all_squash,anonuid=1004,anongid=102) /raid/Public 192.168.1.0/24(rw,async,insecure,all_squash,anonuid=99,anongid=99)
sorry, no more ideas
|
|
|
Post by crazyeddie on Sept 1, 2007 1:16:20 GMT 7
Hi getmythe,
dmesg shows me no suspicious entries. No portmap and no nfs...
N4100Plus:~# cat /etc/exports /raid/record 192.168.0.0/24(rw,async,insecure,all_squash,anonuid=1002,anongid=102)
I don't know if the uids are correct...
|
|
tsuma
New Member
Posts: 9
|
Post by tsuma on Jan 3, 2010 1:08:32 GMT 7
Sorry for resurrecting this old thread but I need to NFS to our non-public Music directory, (one with an ACL) with just one Mac 10.6.2. and user with full privileges (johnny). I tried various permutations in the NFSD setup dialog: /Music 192.168.1.0/24 nobody /Music 192.168.1.0/24 remap root only /Music 192.168.1.0/24 no uid mapping /Music 192.168.1.0/24 johnny
Stop then restart the nfsd module from the command line, there should not be any warning or error messages. /raid/module/NFSD/shell/module.rc stop /raid/module/NFSD/shell/module.rc start
I can stop the module without a problem however when I try to restart it I get: 81: /usr/sbin/ldconfig: not found , twice Found out that I have to have UTILS installed and enabled to avoid the ldconfig error. However, ps | grep NFSD shows only this, no portmap: 9168 root 716 S /raid/module/NFSD/sbin/rpc.mountd 9453 root 504 S grep NFSD
I am running: Firmware Version 2.01.11.2 NFSD module version 2.1.00 Should I downgrade my firmware to get NFS working?
|
|