IT/Software/System Config/etc/fstab: Difference between revisions

From msgwiki
< IT‎ | Software‎ | System Config‎ | etc
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "<accesscontrol>ITStaff</accesscontrol> == fstab entry for msgcnx nfs share == * <code>192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0</code> == fstab entry for regula...")
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<accesscontrol>ITStaff</accesscontrol>
<accesscontrol>ITStaff,Admins</accesscontrol>
== fstab entry for msgcnx nfs share ==
==fstab entry for msgcnx nfs share==
* <code>192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0</code>


== fstab entry for regular ext4 partition ==
*<code>192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0</code>
* <code>UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0</code>
 
==fstab entry for msgcnx nfs share on WiFi==
<code>192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs _netdev 0 0</code>
 
You may also need to add a crontab to mount 30 seconds
 
<code>@reboot sleep 30 && mount -a</code>
 
That needs you to complete the login process and connect to wifi within 30 second
 
So I just ran the mount command every minute.  If already mounted the fstab entries are ignored.
 
<code>*/1 * * * * mount -a</code>
 
==fstab entry for regular ext4 partition==
 
*<code>UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0</code>

Latest revision as of 06:37, 24 August 2021

fstab entry for msgcnx nfs share

  • 192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0

fstab entry for msgcnx nfs share on WiFi

192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs _netdev 0 0

You may also need to add a crontab to mount 30 seconds

@reboot sleep 30 && mount -a

That needs you to complete the login process and connect to wifi within 30 second

So I just ran the mount command every minute. If already mounted the fstab entries are ignored.

*/1 * * * * mount -a

fstab entry for regular ext4 partition

  • UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0