Tiny Core Extensions > TCE Tips & Tricks
NFS Client
arcturus:
Forgive me for this but I feel I have to ask someone who knows more than me on this...
How do I install NFS client and mount a freakin nfs share in microcore? I installed nfs-utils but I can't get it to work.
The command "sudo mount -t nfs 192.168.1.193:/media /mnt/nfs" will just give me:
"mount: 192.168.1.193:/media failed, reason given by server: permission denied"
"mount: mounting 192.168.1.193:/media on /mnt/nfs failed: Bad file descriptor"
I have a Ubuntu server sharing some media files in my network and it works fine when I connect to it from my kubuntu desktop machine...
curaga:
"Permission denied", I take you've checked your server's logs and settings, that your TC machine is allowed to connect?
arcturus:
I'm working with the idea that there is something wrong with the server configuration after all, even though it works flawlessly when I connect to it with my desktop pc... Forgive me for asking trivial things here but I'm new to microcore, and there are less google hits for my mc problems then when I have issues with ubuntu :)
gerald_clark:
Did you read the nfs-utils info fire regarding filesystem-`uname-r` ?
Did you run /usr/local/etc/init.d/nfs-server start on the server and nf-client on the client?
Did you create a proper /etc/exports on the server?
arcturus:
The way I read the info about 'uname-r' made me think it was only relevant if I wanted to run an nfs server... Are you telling me I need that for my client too?
The nfs server starts at boot and is connecting fine with my kubuntu desktop machine. Changing IP in /etc/exports seems to have no effect on my kubuntu machine though. It mounts my nfs share happily whatever IP I use. Shouldn't this IP describe the adress I want to share a directory to? (Yes, I did tell the nfs server I edited /etx/exports with "exportfs -ra").
Khrmmm... :-[ I kind of missed starting the nfs client on my mc box... Kubuntu did that for me after installing the client so I guess I thought mc would do that too... Anyway that did not change anything. Still the same error when trying to mount the nfs share...
My /etc/exports on server side:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_sub$
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/export 192.168.1.247/24(rw,fsid=0,insecure,no_subtree_check,async)
/export/media 192.168.1.247/24(rw,nohide,insecure,no_subtree_check,async)
Navigation
[0] Message Index
[#] Next page
Go to full version