Technonoid Posted June 26, 2003 Report Share Posted June 26, 2003 Is it normal for the NFS services to take 20 plus seconds and NFS mountd to also take another 15 plus seconds during boot ? Just curious mainly. I currently have to shutdown and boot daily. Cause I don't have a UPS on this puter yet, power outages and lightning is bad this time of year. And I have been hit once this year already. Can't aford another one ya know. Tech Quote Link to comment Share on other sites More sharing options...
ranger Posted June 27, 2003 Report Share Posted June 27, 2003 No, it's not normal. It seems like your hostname resolution isn't working. Are you actually using NFS? If not, turn it off. Quote Link to comment Share on other sites More sharing options...
Technonoid Posted June 30, 2003 Author Report Share Posted June 30, 2003 Hmmm, yeah I'm using NFS to share a linux partition on the server. Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 30, 2003 Report Share Posted June 30, 2003 Like ranger says, this could be a sign of poor resolution. My nfs takes .... well no time at all. I take it were talking abouty the server, not the client? Are you granting your exports by name or IP??? Try just replacing the name in the /etc/exports with the IP instead. You can refresh the export list with exportfs -ra Heres mine exported to the local class 'C' RFC network. [root@shuttle proc]# more /etc/exports /home 172.16.122.0/255.255.255.0(insecure,no_root_squash,rw) Anyway, this isn't ideal but at least you know where the problem is ... Quote Link to comment Share on other sites More sharing options...
Technonoid Posted June 30, 2003 Author Report Share Posted June 30, 2003 In fact, my export looks like this: /shared_directory 192.168.1.4(rw,no_root_squash) 192.168.1.7(rw,no_root_squash) I have always liked doing networking stuff the static way. In windblows, it seemed to always boot faster when you do. So I have carried over the static ip networking to linux. Good idea or not ? Quote Link to comment Share on other sites More sharing options...
Technonoid Posted June 30, 2003 Author Report Share Posted June 30, 2003 stephen_loard, Just noticed you have your subnet listed. Think that might be it ? Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 30, 2003 Report Share Posted June 30, 2003 Actually I've been lazy. You'll notice Im doing a broadcast, like yeah Ive 253 PC's I didn't specify I just did a whole class C. Not the best way. Despite what I did I don't think its the best way but it works :-) When I get time I'm going to try LDAP but I havn't bothered getting DHCP and NIS working properly yet!! Yours should work ... try adding the natmask but ... Did you try external access without the firewall ??? could be your nfs port ??? Quote Link to comment Share on other sites More sharing options...
Technonoid Posted June 30, 2003 Author Report Share Posted June 30, 2003 It all works great. Its just the boot thang. I'm not to worried about it, cause I'm gonna get a UPS for it soon, I hope. I'll play around with it until then though. It shouldn't be slow, and it bugs me. Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 30, 2003 Report Share Posted June 30, 2003 Have you tried restarting the service from the command line to see where it hangs?? You can switch on debugging Also you can force it to run in forgeground (-F) i think :-) Another point, if your firewalled you can force it to use a specific port instead of it randomlly requesting one. (p.s. I'm a big fan of using proper UNIX stuff instread of kludged Windows stuff like samba, not I don't think sabma is great, its just that two linux or unix machines sharing files by CIFS is a horrid thought !!! Sabma is great but its a compatibility with M$ utility. :-) Quote Link to comment Share on other sites More sharing options...
Technonoid Posted July 1, 2003 Author Report Share Posted July 1, 2003 (p.s. I'm a big fan of using proper UNIX stuff instread of kludged Windows stuff like samba, not I don't think sabma is great, its just that two linux or unix machines sharing files by CIFS is a horrid thought !!! You said it. :D I didn't get a chance to play around with nfs yet. I should tonight though, we'll see what happens. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.