NFS hard mount and soft mount
Hard mount
- Application writes/reads to NFS and got error, it gets stuck forever, it’s for data safety, important files, DBS Soft mount:
- NFS client returns I/O error after few retries. It’s for caching, temp data, lead to data corruption
Terminologies
- Attach volume: Attach EBS 100GB to the EC2 instance device: /dev/sdf
- Mount device: Mount device /dev/sdf to the directory /usr/data
- Device is busy: The device is still mounting to a directory.
EBS
- Single AZ
- With K8s,
nodeAffinityto force pod and EBS to be in the same AZ - If it requires multiple AZ for HA > NFS