What do network mounts do?
Connect computers to share files as if they were local
Name common types of network mounts.
NFS (Network File System) and SMB (Server Message Block or Samba)
What is NFS designed for?
Linux-to-Linux file sharing
How do remote directories behave in NFS?
Like local storage
Ideal use case for NFS?
Environments using Unix-like systems
Syntax for NFS mount?
mount -t nfs <server>:/<remote-path> <local-mountpoint></local-mountpoint></remote-path></server>
Example of NFS mount?
sudo mount -t nfs 192.168.1.100:/exports/data /mnt/data
What does -t nfs specify?
NFS type
What is 192.168.1.100:/exports/data in NFS example?
Server and export path
What is /mnt/data in NFS example?
Local directory where the share appears
Why is NFS common?
Centralized data access for multiple Linux systems
What does SMB support?
Cross-platform file sharing including Windows and Linux
How is SMB implemented in Linux?
As Samba
What protocol does SMB use?
CIFS (Common Internet File System)
Syntax for SMB mount?
mount -t cifs //<server>/<share> <local-mountpoint> -o username=<user>,password=<pass></pass></user></local-mountpoint></share></server>
Example of SMB mount?
sudo mount -t cifs //192.168.1.50/shared /mnt/shared -o username=admin,password=secret
What does -t cifs specify?
CIFS protocol for SMB
What is //192.168.1.50/shared in SMB example?
SMB server and share name
What is /mnt/shared in SMB example?
Local mount point
Why is SMB useful?
Mixed environments where both Windows and Linux users need file access