IT/Software/System Config/etc/fstab: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary |
Walttheboss (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<accesscontrol>ITStaff,Admins</accesscontrol> | <accesscontrol>ITStaff,Admins</accesscontrol> | ||
== fstab entry for msgcnx nfs share == | ==fstab entry for msgcnx nfs share== | ||
== 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
192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0
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