You are not logged in.
Hi!
I have done all the steps of http://wiki.archlinux.org/index.php/Nfs
nfs is working ok...
I have added this "192.168.0.5:/home/user/shared /home/user2/shared nfs defaults 0 0" to the fstab...
if I do a mount -a it works ok...
but is not working at boot up...
someone told me about trying defauls,_netdev in the fstab line, but the same... do not work
any idea?
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
Did you add netfs to DAEMONS list in /etc/rc.conf?
Offline
Did you add netfs to DAEMONS list in /etc/rc.conf?
yep, it is there
DAEMONS=(syslog-ng @network @hal @net-profiles portmap netfs nfslock @sensors @crond @cpufreq @alsa)
no idea what to do...
when netfs (or is it nfsd? I dont remember) tries to load at startup it shows:
mount: mount to NFS server '192.168.0.33' failed: System Error: Network is unreacheable
and then, I do mount -a and it works...
in server /etc/conf.d/nfs:
STATD_OPTS="--no-notify"
in hosts.allow:
sshd: 192.168.0.34
nfsd: 192.168.0.34
portmap: 192.168.0.34
mountd: 192.168.0.34
hosts.deny:
ALL: ALL: DENY
rc.conf:
portmap netfs nfslock nfsd
exports:
/home/luciano/compartido 192.168.0.34(rw,sync,no_root_squash,subtree_check)
in client fstab:
192.168.0.33:/home/luciano/compartido /home/luciano/compartido nfs defaults,_netdev 0 0
rc.conf:
portmap netfs nfslock
Last edited by luuuciano (2008-08-27 20:13:36)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
remove the @ from network..
It is probably not getting loaded before it tries nfs.. which then fails
Offline
Same advice as mrcold, but also I don't think you can have both network and net-profiles. I think you should remove network and the @ before net-profiles.
Zl.
Offline
also.. you should probably put nfslock before netfs (thats how i have it anyway, and it works)
Offline
wow, thanks a lot to everyone of you!
it was all that... added ! to network, quit @ to wpa (two/three seconds to load!) and nfslock before netfs (if not nfslock fails)
thanks again!
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
one thing, that I do not know if it is normal...
at shotdown the system tries to unmount network filesystem, and it fails...
it is normal?
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
I was just researching the "Unmounting Network Filesystem Fail" message myself and I came across this bug http://bugs.archlinux.org/task/10484 I haven't tried the fix yet as I am at work but sounds like it should fix the issue for now.
Hope that helps,
Kevin
Offline
Thanks a lot Kevin!
So, it just adds 5 seconds, to wait for the umount proccess...?
I arch, you arch, he arch, she arch, we arch, they arch...
Offline