Results 1 to 6 of 6
I added some entries into my /etc/exports file. But when I boot my system, the file is not read. I check it by
Code:
sudo exportfs
— it returns nothing
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-01-2009 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
/etc/exports file not read on boot
I added some entries into my /etc/exports file. But when I boot my system, the file is not read. I check it by
— it returns nothingCode:sudo exportfs
Then I runand then againCode:sudo expotfs -a
— and now all my exported folders are listed.Code:sudo exportfs
I'm running kubuntu 9.04
- 11-02-2009 #2
Are you sure nfs service is started - during booting?
Try using
for verbose mode.exportfs -vaFirst they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 11-02-2009 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
How do I make it starting during booting?
I typed sudo exportfs -va and got
It exported all what I had asked it in config fileCode:exporting NNN.local:/home/netimen/Documents exporting NNN.local:/home/netimen/Pictures exporting NNN.local:/home/netimen/Videos exporting NNN.local:/home/netimen/Music exporting NNN.local:/
- 11-02-2009 #4
Seems like you need to edit fstab file to mount NFS partitions.I googled out this redhat link. NFS Client Configuration Files
Note:
1.Take backup of fstab file before modifing it.
2.Beware: Wrong entry in fstab,won't allow you to boot the system .You should have Installation CD ,in order to login to "rescue mode" and correct the errors.First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 11-02-2009 #5Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
- 11-10-2009 #6Sorry for the delay.(I'm on a vacation leaveThe problem is I can't even manually mount the folders my system exports on other machines until I manually type sudo exportfs -a on my system
) If this is your problem "I can mount local directories on remote machines only after running exportfs command on local machine". then I believe it's standard procedure to export directory.
First edit /etc/exports file and then use exportfs command to complete the task of exporting files to remote machines.First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org


Reply With Quote

