LinHES Forums http://forum.linhes.org/ |
|
netfs and NFS mounts http://forum.linhes.org/viewtopic.php?f=21&t=20626 |
Page 1 of 1 |
Author: | falinskip [ Mon Nov 30, 2009 12:19 pm ] |
Post subject: | netfs and NFS mounts |
Hi People, This maybe just a dumb question, but I am going to ask it anyways. I have been trying to get NFS to work for my from my backend server to my frontends. I can mount the drive on the frontend server but I can not see any files. I searched on the forum and someone pointed out that you needed both of these services below running. However, for some reason I can not get netfs to start. Services that need to be running. netfs nfslock rc.conf file contains the netfs service, it just does not want to start for some reason. #DAEMONS=(syslog-ng network netfs crond) DAEMONS=(fbsplash !syslog-ng !hotplug !pcmcia network netfs !mysqld !dbus !avah$ # End of file exports on the backend that I wish to share with the subnet /mnt/sdb *(rw,no_root_squash,async,no_subtree_check) fstab from my front end none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/sr0 /media/cdrom auto ro,user,noauto,unhide 0 0 UUID=86aa7409-e3a5-470b-b959-9e11ddbf9700 / auto defaults,noatime 0$ UUID=cf821977-3ed8-488f-99ea-546a56fcdc30 /myth auto defaults,noatime $ UUID=58becfba-6b8d-4987-9cb5-1e8e2d076384 swap swap defaults 0 0$ 192.168.0.10:/mnt /mnt/data nfs suid,dev,soft,exec,noauto 0 0 #STARTSCRUB --------------anything in this block will be scrubbed 192.168.0.10:/mnt /mnt nfs #ENDSCRUB 192.168.0.10:/mnt/sdb /etc/sdb nfs suid,dev,exec 0 0 Any help in the right direction would be much appreciated. Thanks, Paul |
Author: | mihanson [ Mon Nov 30, 2009 2:31 pm ] |
Post subject: | Re: netfs and NFS mounts |
falinskip wrote: Services that need to be running.
netfs nfslock rc.conf file contains the netfs service, it just does not want to start for some reason. R6 does not use rc. It uses runit. This should get you up and running: Code: $ sudo add_service.sh netfs ; sudo add_service.sh nfslock ; sudo sv restart netfs && sudo sv restart nfslock
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |