NFS tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Fix: remove --- horizontal lines (7 removed))
({{Status}}/{{TOC}} 템플릿 제거)
 
Line 1: Line 1:
{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-16
|review=Pending
}}
{{TOC}}
== Overview ==
== Overview ==


Line 17: Line 8:
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


== Purpose ==
== Purpose ==
Line 26: Line 16:
* Scope: NFS tips and tricks의 개념, 사용법, 설정
* Scope: NFS tips and tricks의 개념, 사용법, 설정
* Non-goals: 다른 주제로의 확장
* Non-goals: 다른 주제로의 확장


== Key Concepts ==
== Key Concepts ==
Line 39: Line 28:
| [[Linux]], [[Server]]
| [[Linux]], [[Server]]
|}
|}


== Detailed Explanation ==
== Detailed Explanation ==
Line 63: Line 51:
$ nfsstat -r
$ nfsstat -r
Server rpc stats:
Server rpc stats:


== Best Practices ==
== Best Practices ==
Line 70: Line 57:
* 공식 문서 참고
* 공식 문서 참고
* 테스트 환경에서 먼저 검증
* 테스트 환경에서 먼저 검증


== References ==
== References ==


* [https://wiki.hpcmate.com NFS tips and tricks]
* [https://wiki.hpcmate.com NFS tips and tricks]


== Related Pages ==
== Related Pages ==
Line 83: Line 68:
* [[Hardware]]
* [[Hardware]]
* [[Network]]
* [[Network]]


[[Category:Network]]
[[Category:Network]]

Latest revision as of 13:24, 2 October 2026

Overview

NFS tips and tricks에 대한 기술 문서입니다.

Summary

  • 무엇인가? - NFS tips and tricks
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시

Purpose

이 문서가 존재하는 이유

  • Goal: NFS tips and tricks에 대한 기술 정보 제공
  • Scope: NFS tips and tricks의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장

Key Concepts

Concept Description Related
NFS tips and tricks HPC/서버 환경에서 중요한 기술 개념 Linux, Server

Detailed Explanation

NFS uses threads on the server to handle incoming and outgoing I/O requests. Using threads helps NFS scale to handle large numbers of clients and large numbers of I/O requests.

dmesg display when reach some high number of clients. should increase Number of NFS daemons (nfsd) by changing the RPCNFSDCOUNT variable in /etc/default/nfs-kernel-server on a Debian-based machine. (Ubuntu 20.04)

Find the number of NFS daemons in two ways
ps -aux | grep nfs
or 
$ ps -aux | grep nfs | wc -l
To change nfsd count temperarly, use 
# rpc.nfsd 16
To change nfsd count permenently increase RPCNFSDCOUNT variable in  /etc/default/nfs-kernel-server (Ubuntu 20.04) then  restart nfs server.
$ cat /etc/default/nfs-kernel-server 
# Number of servers to start up
RPCNFSDCOUNT=64
...
$ sudo systemctl restart nfs-server.service
$ ps -aux | grep nfs | wc -l                
65

<syntaxhighlight lang="bash"> $ nfsstat -r Server rpc stats:

Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증

References

Related Pages

Knowledge Graph

Related

→ NFS → Network → NFSv4 ACLs → Storage