Home » Network Storage: SAN, NAS, iSCSI, NFS, SMB และ Storage Networking Protocols
Network Storage: SAN, NAS, iSCSI, NFS, SMB และ Storage Networking Protocols
Network Storage: SAN, NAS, iSCSI, NFS, SMB และ Storage Networking Protocols
Network Storage เป็นโครงสร้างพื้นฐานที่เก็บข้อมูลผ่าน network แทนการเก็บบน local disk SAN (Storage Area Network) ให้ block-level storage ผ่าน dedicated network, NAS (Network Attached Storage) ให้ file-level storage ผ่าน IP network, iSCSI ส่ง SCSI commands ผ่าน TCP/IP, NFS เป็น file sharing protocol สำหรับ Unix/Linux และ SMB/CIFS เป็น file sharing protocol สำหรับ Windows environments
ทุกองค์กรต้องเก็บข้อมูล แต่หลายองค์กร เลือก storage solution ไม่เหมาะกับ workload: ใช้ NAS สำหรับ database (ควรใช้ SAN), ใช้ SAN สำหรับ file sharing (แพงเกินไป), ไม่เข้าใจ protocol differences ทำให้ performance ไม่ดี การเข้าใจ storage networking ช่วยเลือก solution ที่ถูกต้อง
SAN vs NAS
| Feature |
SAN |
NAS |
| Access Level |
Block-level (LUN/volume) |
File-level (shared folders) |
| Protocol |
Fibre Channel, iSCSI, FCoE |
NFS, SMB/CIFS |
| Network |
Dedicated storage network (FC fabric or separate IP) |
Regular IP/Ethernet network |
| Performance |
High (low latency, dedicated bandwidth) |
Good (shared network, higher latency) |
| Use Case |
Databases, VMs, high-performance applications |
File sharing, home directories, backups, media |
| Cost |
High (FC switches, HBAs, dedicated fabric) |
Lower (standard Ethernet, easy setup) |
| OS Sees |
Local disk (format with own filesystem) |
Network share (mount as remote folder) |
| Scalability |
Scale performance + capacity |
Scale capacity (performance limited by network) |
SAN Protocols
| Protocol |
Transport |
Speed |
Use Case |
| Fibre Channel (FC) |
FC fabric (dedicated) |
16/32/64 Gbps |
Enterprise (highest performance, mission-critical) |
| iSCSI |
TCP/IP (Ethernet) |
1/10/25/100 GbE |
SMB/mid-market (FC performance over IP, lower cost) |
| FCoE (Fibre Channel over Ethernet) |
Lossless Ethernet (DCB) |
10/25/100 GbE |
Converged network (FC + Ethernet on same wire) |
| NVMe-oF (NVMe over Fabrics) |
RDMA/TCP/FC |
25/100/200 GbE |
Next-gen (ultra-low latency for NVMe flash arrays) |
Fibre Channel
| Feature |
รายละเอียด |
| คืออะไร |
Dedicated storage networking protocol (ไม่ใช่ Ethernet — แยก fabric) |
| Components |
HBA (Host Bus Adapter) + FC Switch + Storage Array |
| WWN |
World Wide Name — unique identifier (เหมือน MAC address แต่สำหรับ FC) |
| Zoning |
Access control — กำหนดว่า initiator (server) ไหน เห็น target (LUN) ไหน |
| LUN Masking |
Storage-side access control — กำหนดว่า server ไหน access LUN ไหน |
| Fabric |
FC switches สร้าง fabric (mesh ของ FC switches) |
| VSAN |
Virtual SAN — แบ่ง physical FC fabric เป็น virtual fabrics |
| Vendors |
Brocade (Broadcom), Cisco MDS (FC switches) |
iSCSI
| Feature |
รายละเอียด |
| คืออะไร |
SCSI commands ส่งผ่าน TCP/IP network (block storage over Ethernet) |
| Initiator |
Client/server ที่ส่ง SCSI commands (software หรือ hardware initiator) |
| Target |
Storage device ที่รับ SCSI commands (storage array/NAS) |
| IQN |
iSCSI Qualified Name — unique identifier (iqn.2024-01.com.company:target1) |
| CHAP |
Authentication (Challenge-Handshake Authentication Protocol) |
| MPIO |
Multipath I/O — multiple paths ไป storage (redundancy + load balancing) |
| Jumbo Frames |
MTU 9000 recommended (reduce overhead, improve throughput) |
| Dedicated Network |
Recommend separate VLAN/network สำหรับ iSCSI traffic |
NFS (Network File System)
| Feature |
รายละเอียด |
| คืออะไร |
File sharing protocol สำหรับ Unix/Linux (RFC 7530 สำหรับ NFSv4) |
| NFSv3 |
Stateless, UDP/TCP, widely supported, simple |
| NFSv4 |
Stateful, TCP only, built-in security (Kerberos), compound operations |
| NFSv4.1 (pNFS) |
Parallel NFS — parallel access to data (high performance) |
| Export |
Server exports directories → clients mount ผ่าน network |
| Permissions |
Unix permissions (uid/gid mapping between client and server) |
| Use Case |
Linux file sharing, VMware datastores (NFS), container persistent storage |
SMB/CIFS
| Feature |
รายละเอียด |
| คืออะไร |
File sharing protocol สำหรับ Windows (Server Message Block) |
| SMB1 |
Legacy (CIFS) — deprecated, vulnerable (WannaCry, EternalBlue) |
| SMB2 |
Improved performance (fewer commands, larger reads/writes, pipelining) |
| SMB3 |
Encryption, multichannel (multiple NICs), SMB Direct (RDMA) |
| SMB3.1.1 |
Pre-authentication integrity, AES-128-GCM encryption |
| Authentication |
NTLM or Kerberos (Active Directory integrated) |
| Use Case |
Windows file sharing, DFS, home drives, print sharing |
| Samba |
Open-source SMB implementation สำหรับ Linux |
Storage Vendors
| Vendor |
Products |
จุดเด่น |
| NetApp |
AFF (all-flash), FAS (hybrid), ONTAP |
Unified storage (SAN + NAS), data management, SnapMirror |
| Dell EMC |
PowerStore, Unity, PowerScale (Isilon) |
Enterprise SAN + scale-out NAS, VMware integration |
| Pure Storage |
FlashArray, FlashBlade |
All-flash pioneer, Evergreen subscription, simple management |
| HPE |
Alletra, Nimble, 3PAR |
Cloud-managed, AI-driven (InfoSight), hybrid cloud |
| Synology/QNAP |
NAS appliances |
SMB/home/small office NAS, easy setup, apps |
| TrueNAS (iXsystems) |
TrueNAS CORE/SCALE |
Open-source, ZFS-based, enterprise features for free |
Storage Design
| Workload |
Recommended |
Protocol |
| Database (SQL/Oracle) |
SAN (block storage) |
FC or iSCSI (low latency, consistent IOPS) |
| Virtual Machines (VMware) |
SAN or NFS |
FC, iSCSI, or NFSv4 (VMware supports all) |
| File Sharing (Windows) |
NAS |
SMB3 (Active Directory integrated) |
| File Sharing (Linux) |
NAS |
NFSv4 (native Linux support) |
| Backup/Archive |
NAS |
NFS or SMB (large sequential writes) |
| Container Storage |
NAS or SAN (CSI) |
NFS, iSCSI, or NVMe-oF (Kubernetes CSI drivers) |
| High-Performance Computing |
Parallel filesystem |
Lustre, GPFS, BeeGFS, NVMe-oF |
ทิ้งท้าย: Right Storage for Right Workload
Network Storage SAN: block-level storage (FC, iSCSI, FCoE, NVMe-oF) — databases, VMs NAS: file-level storage (NFS, SMB) — file sharing, backups, media FC: highest performance, dedicated fabric (enterprise, mission-critical) iSCSI: block storage over Ethernet (cost-effective alternative to FC) NFS: Unix/Linux file sharing (v4 = stateful + Kerberos) SMB: Windows file sharing (v3 = encryption + multichannel + RDMA) Design: match protocol to workload (DB→SAN, files→NAS, VMs→SAN or NFS)
อ่านเพิ่มเติมเกี่ยวกับ Network Design Patterns Spine-Leaf และ Cloud Networking AWS VPC ที่ siamlancard.com หรือจาก icafeforex.com และ siam2r.com