View previous topic :: View next topic |
Author |
Message |
toothandnail Member
Joined: 17 Mar 2011 Posts: 63 Location: Oxfordshire, UK
|
Posted: Fri Apr 01, 2011 8:53 pm Post subject: Boot error |
|
|
I'm seeing an error during boot:
Code: | FATAL: Error inserting nfsd (/lib/modules/2.6.35.11-smp/kernel/fs/nfsd/nfsd.ko): Invalid module format
Starting NFS server daemons:
/usr/sbin/exportfs -r
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.0/255.255.255.0:/var/smb".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x |
I'm not sure if it affects anything - I have exported one directory, which seems to be working.
Paul. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Apr 02, 2011 12:33 am Post subject: |
|
|
First error is because you are booting with hugesmp kernel which has built in support for nfs, upgrading to sysvinit-scripts from SMS-Current the error is gone since it's checking for nfs support before try to load the module.
Some common default options for nfs are (all_squash,no_subtree_check)
See 'man exports' for more, to choose the best options for you.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
toothandnail Member
Joined: 17 Mar 2011 Posts: 63 Location: Oxfordshire, UK
|
Posted: Sun Apr 03, 2011 1:53 pm Post subject: |
|
|
gerasimos_h wrote: | First error is because you are booting with hugesmp kernel which has built in support for nfs, upgrading to sysvinit-scripts from SMS-Current the error is gone since it's checking for nfs support before try to load the module. |
Ah! I have upgraded to the latest sysvint package, but I just realised that I've not been through to check for .new files. That will probably fix it.
Quote: | Some common default options for nfs are (all_squash,no_subtree_check)
See 'man exports' for more, to choose the best options for you.
|
Thanks. I will have to check what options I had enabled. I think only root_squash. Should be reasonably secure since I've limited it to machines in my local network.
Paul. |
|
Back to top |
|
|