Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Network File System (NFS)
(edit)
Revision as of 16:46, 18 October 2018
508 bytes added
,
16:46, 18 October 2018
→NFS Volume At Boot Time
Line 45:
Line 45:
=== NFS Volume At Boot Time ===
=== NFS Volume At Boot Time ===
+
==== via /etc/fstab ====
sudo nano /etc/fstab
sudo nano /etc/fstab
/etc/fstab
/etc/fstab
Line 52:
Line 53:
Mount
Mount
mount -a
mount -a
+
+
==== via SystemD ====
+
sudo apt-get install nfs-client
+
sudo modprobe nfs
+
sudo echo NFS | tee -a /etc/modules
+
+
sudo nano /etc/systemd/system/mnt-things.mount
+
content:
+
<nowiki>[Unit]
+
Description=Things devices
+
After=network.target
+
+
[Mount]
+
What=172.16.24.192:/mnt/things
+
Where=/mnt/things
+
Type=nfs
+
Options=_netdev,auto
+
+
[Install]
+
WantedBy=multi-user.target</nowiki>
+
+
Start mount service
+
systemctl daemon-reload
+
systemctl start mnt-media.mount
+
systemctl status mnt-things.mount
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version