LinHES Forums
http://forums.linhes.org/

NFS File not at /etc/exports
http://forums.linhes.org/viewtopic.php?f=17&t=5544
Page 1 of 1

Author:  ThisPageIntentionallyLeft [ Mon Aug 01, 2005 2:10 pm ]
Post subject:  NFS File not at /etc/exports

I migrated a system to Frontend only, and love it. However, I'd like to tweak the NFS Export settings on the main box and things have changed since the wiki was written.

This page:

http://www.knoppmythwiki.org/index.php?page=NFSHowTo

says, "If you would like to change these settings, or would like to share other directories, you will need to edit the /etc/exports file..."

There's no file there, and I searched for an export file, but only see matches in the webmin area. And "mount IP_Address:/myth /mnt/myth" just gives me a "mount: RPC: Program no registered" error.

What is the revised procedure. Thanks.

Author:  tjc [ Mon Aug 01, 2005 6:51 pm ]
Post subject: 

You can either create the file by hand or use the webmin interface to set one up for you. There is a page on enabling webmin on the wiki, as for creating one by hand mine looks like this:
Code:
root@black2:/etc# cat exports
/myth   192.168.1.0/255.255.255.0(rw)

This makes the myth partition available to all machines on my local network.

Author:  ThisPageIntentionallyLeft [ Mon Aug 01, 2005 6:57 pm ]
Post subject: 

Ah, thank you so much -- I just didn't know the stuff that goes at the top, but I certainly don't mind making a new file.

I think I'm done, and I love this. Thanks again.

Author:  tjc [ Mon Aug 01, 2005 7:04 pm ]
Post subject: 

The stuff that goes at the top? :? I hope you realize that the first line of that "code" block is just the root prompt and the command I used to print it out... I.e. - it's a cut & paste snapshot from my shell session...

Author:  ThisPageIntentionallyLeft [ Mon Aug 01, 2005 7:11 pm ]
Post subject: 

Yes, of course, I mean syntax and what has to be declared for the OS to recognize the file.

What I typed was much shorter so that I could run away and finish this. :D

There is a minor error, because this version is new enough that it wants me to declare sync or async. Yet, I'm trying to figure out that syntax too.

I should be able to find this one by googling for the documentation.

Author:  willem [ Tue Aug 02, 2005 12:10 am ]
Post subject: 

You can also try:

man 5 exports

This works for many configuration files in /etc just substitute exports for the name of another configuration file in /etc to get information about it's syntax and options.

Author:  tjc [ Tue Aug 02, 2005 6:11 pm ]
Post subject: 

The webmin interface takes care of al that for you... Highly recommended...

Author:  ThisPageIntentionallyLeft [ Wed Aug 03, 2005 9:21 am ]
Post subject: 

Thanks very much to all. I never would have found man 5 exports on my own.

Yes, I really love the webmin, and have used a simple password to protect it. I'm also experimenting with aviManager.

Thanks again. :)

Author:  cesman [ Wed Aug 03, 2005 1:22 pm ]
Post subject: 

Webmin rules!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/