--- date: 2026-04-04 topic: USB 2.5GbE 어댑터 절전 hang + NFS hard mount D-state 장애 areas: - infra/infra-hosts.md - infra/nas-storage.md tags: [history, incident, network, nfs, usb] --- ## 배경 USB 2.5GbE 어댑터(r8152/cdc_ncm)가 Linux USB autosuspend에 의해 절전 모드 진입 후 드라이버 hang 발생. ## 인시던트 kr2에서 NFS hard mount가 죽은 2.5G IP로 D-state 누적되어 로드 2000+ 장애. 서버 먹통. ## 복구 - USB unbind/bind로 즉시 복구 - kr2: GRUB `usbcore.autosuspend=-1`, udev rule `99-usb-ethernet.rules` (scatter-gather off) - NAS: `/usr/local/etc/rc.d/usb-no-suspend.sh` 스타트업 스크립트 ## 교훈 - NFS hard mount는 NAS 끊기면 무한 대기 → 서버 먹통 - 모든 NFS 마운트는 `soft,timeo=50,retrans=3` 필수 ## 참조 - `infra/infra-hosts.md` — 2.5G LAN 구성 - `infra/nas-storage.md` — NFS 마운트 옵션