View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: NFS How To ?
PostPosted: Sun Jan 28, 2007 12:54 pm 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
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 ?


Top
 Profile  
 
 Post subject: ?
PostPosted: Mon Jan 29, 2007 10:05 am 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
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 ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 29, 2007 12:35 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
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?


Top
 Profile  
 
 Post subject: ls level 5
PostPosted: Mon Jan 29, 2007 12:57 pm 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
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


Top
 Profile  
 
 Post subject: Re: ls level 5
PostPosted: Mon Jan 29, 2007 2:22 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
koecks wrote:
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
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.

So, can we see your /etc/exports file, and convince you to divulge the version of KnoppMyth you are playing with?


Top
 Profile  
 
 Post subject: sure...
PostPosted: Mon Jan 29, 2007 2:44 pm 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
:lol: R5E50

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 !


Top
 Profile  
 
 Post subject: Re: sure...
PostPosted: Mon Jan 29, 2007 3:06 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
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.

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.
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.


Top
 Profile  
 
 Post subject: hmm
PostPosted: Mon Jan 29, 2007 3:13 pm 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
/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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu