Line 1: |
Line 1: |
− | ==Automatically mount a network share on your SME server at boot==
| |
| {{Level|medium}} | | {{Level|medium}} |
| | | |
− | === Assumptions=== | + | [[File:Exemple.jpg|thumb]]=== Assumptions=== |
| | | |
| This Howto assumes: | | This Howto assumes: |
− | * You will be mouning your shares into the '''info''' ibay | + | * You will be mounting your shares into the '''info''' ibay |
| * You will be using '''cifs''' (smbfs or nfs should be similar) | | * You will be using '''cifs''' (smbfs or nfs should be similar) |
| * Your cifs server is named '''nas01''' | | * Your cifs server is named '''nas01''' |
Line 46: |
Line 45: |
| === Mounting === | | === Mounting === |
| You can test your new mount script by running it: | | You can test your new mount script by running it: |
− | /etc/e-smith/events/local/S95netshare | + | /etc/e-smith/events/local/S95netshares |
| | | |
| Or by executing the SME '''local''' event: | | Or by executing the SME '''local''' event: |
Line 95: |
Line 94: |
| # If you don't include <tt>/etc/rc.d/init.d/netfs start</tt> in your script (S95netshares), your system will lock up every time you shutdown. This is a bug in CentOS (and hence will not be addressed by the SME developers). See [http://bugs.contribs.org/show_bug.cgi?id=4086 Bug 4086] for more information. | | # If you don't include <tt>/etc/rc.d/init.d/netfs start</tt> in your script (S95netshares), your system will lock up every time you shutdown. This is a bug in CentOS (and hence will not be addressed by the SME developers). See [http://bugs.contribs.org/show_bug.cgi?id=4086 Bug 4086] for more information. |
| # Combined with [[DAV]] this procedure would allow remote read-write access using [http://www.webdav.org/ WebDAV] to network shares on internal servers behind your SME server. | | # Combined with [[DAV]] this procedure would allow remote read-write access using [http://www.webdav.org/ WebDAV] to network shares on internal servers behind your SME server. |
| + | ---- |
| [[Category:Howto]] | | [[Category:Howto]] |
| + | [[Category:Administration:Storage]] |
| + | [[Category:Administration:File and Directory Access]] |