Storage networks
Storage Patterns
DAS vs NAS vs SAN
NFS and SMB are protocols of NAS
NAS
The NAS device itself is a network node—much like computers and other TCP/IP devices, all of which maintain their own IP address—and the NAS file service uses the ethernet network to send and receive files.
Components of NAS
This system employs protocols like
- Network File System (NFS) and
- Server Message Block (SMB),
enabling seamless data exchange between multiple users.
NFS
NFS protocol
Ref: https://pk.org/assets/files/classes-417-notes/06c-nfs-slides.pdf
In Linux systems, when you mount a remote NFS share (e.g., via the mount command or /etc/fstab), the NFS client (implemented in the kernel) automatically translates standard file system operations—initiated by shell commands into the corresponding NFS protocol RPC (Remote Procedure Call) functions. This happens transparently through the Virtual File System (VFS) layer.
NFSv3 vs NFSv4
SMB
NAS
NAS, SMB, AFS, Coda
Thick provisioning vs Thin provisioning
Thin provisioning can introduce higher latency compared to thick provisioning due to the on-the-fly allocation of storage space and potential need for zeroing out blocks before writing data.