LinHES Forums http://forum.linhes.org/ |
|
NFS How To ? http://forum.linhes.org/viewtopic.php?f=5&t=13907 |
Page 1 of 1 |
Author: | koecks [ Sun Jan 28, 2007 12:54 pm ] |
Post subject: | NFS How To ? |
I followed guidelines on: http://knoppmythwiki.org/index.php?page=NFSHowTo But they don't seem to start up, when I reboot the machine ? I have to issue, /etc/init.d/nfs-common start /etc/init.d/nfs-kernel-server start then everything works ? I did the, update-rc.d nfs-common defaults update-rc.d nfs-kernel-server defaults and if I do them again, they say that they are already there.... what can I check ? |
Author: | koecks [ Mon Jan 29, 2007 10:05 am ] |
Post subject: | ? |
if I issue an exportfs -ra from the server. Everything works fine from the clients .... how can I automate this - so that this is issued each time the server boots ? |
Author: | slowtolearn [ Mon Jan 29, 2007 12:35 pm ] |
Post subject: | |
Your nfs-kernel-server should be handling that for you. What do you get when you issue Code: ls -l /etc/rc5.d/*nfs*
Can you post the contents of your /etc/exports file? And what version of KM are you using? |
Author: | koecks [ Mon Jan 29, 2007 12:57 pm ] |
Post subject: | ls level 5 |
lrwxrwxrwx 1 root root "date" /etc/rc5.d/S20nfs-common -> ../init.d/nfs-common lrwxrwxrwx 1 root root "date" /etc/rc5.d/S20nfs-kernel-server -> ../init.d/nfs-kernel-server |
Author: | slowtolearn [ Mon Jan 29, 2007 2:22 pm ] |
Post subject: | Re: ls level 5 |
koecks wrote: lrwxrwxrwx 1 root root "date" /etc/rc5.d/S20nfs-common -> ../init.d/nfs-common OK, that looks fine. You might try removing them (update-rc.d -f nfs-kernel-server remove and update-rc.d -f nfs-common remove) and try installing them again, in case something failed the first time around.
lrwxrwxrwx 1 root root "date" /etc/rc5.d/S20nfs-kernel-server -> ../init.d/nfs-kernel-server So, can we see your /etc/exports file, and convince you to divulge the version of KnoppMyth you are playing with? |
Author: | koecks [ Mon Jan 29, 2007 2:44 pm ] |
Post subject: | sure... |
![]() I actually did try removing them and adding them again... I think I found the problem... I am using SYMLINKS on the backend, then from the client, I did a remote mount to those SYMLINKS. The SYMLINKS are in /myth/video directory. Apparently it wasn't enough I put the SYMLINKS into the "exports" file, I also needed to put the direct link in there.. like /media/MAXTOR. Thanks ! |
Author: | slowtolearn [ Mon Jan 29, 2007 3:06 pm ] |
Post subject: | Re: sure... |
koecks wrote: I think I found the problem... I am using SYMLINKS on the backend, then from the client, I did a remote mount to those SYMLINKS. The SYMLINKS are in /myth/video directory. I'm not entirely sure what you mean here, but if the nfs-kernel-server script doesn't find any lines beginning with / in your /etc/exports file then it assumes no exports have been created. I have not tried exporting sym-links before, but I would be surprised if they didn't work.
Apparently it wasn't enough I put the SYMLINKS into the "exports" file, I also needed to put the direct link in there.. like /media/MAXTOR. |
Author: | koecks [ Mon Jan 29, 2007 3:13 pm ] |
Post subject: | hmm |
/myth/video/Film1 is a symlink to /media/MAXTOR/Video to me it looks like I need both in my exports file, otherwise the symlink will not work when mounting IP:/myth/video/Film1 from remote client. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |