728x90
반응형

NFS 서버 사용중 해당 서버의 문제로 연결이 끊어지거나 서버가 응답이 없을 때

참 난감하다.

unmount를 시켜도 device busy가 나오면서 unmount도 되지 않고,

df 를 하게되면 계속 멈춰있는 상태가 된다.

이런 경우 보통 서버를 강제 재부팅해야 해결이 되었다. 물론 /etc/fstab에 등록하여 자동 연결되도록 했다면 먼저 제거해야 한다.

 

매직워드 Magic Word 발견!

umount -l (mountpoint)

 

umount 옵션이나 man page에는 해당 옵션이 나오지 않는다

그래서 검색해 보니 Lazy unmount라고 한다.

 

-l 
    Lazy unmount. Detach the filesystem from the filesystem hierarchy 
    now, and cleanup all references to the filesystem as soon as 
    it is not busy anymore. (Requires kernel 2.4.11 or later.)

 

실행해 보니 해당 mount를 사용하는 프로그램이 없어서인지 바로 처리가 되었고, 깔끔하게 끝났다.

 

아래 사이트 댓글에서 확인 가능

https://access.redhat.com/solutions/28211

 

RHEL mount hangs: nfs: server [...] not responding, still trying - Red Hat Customer Portal

NFS shares hang with the following error(s) in /var/log/messages: kernel: nfs: server not responding, still trying kernel: nfs: server not responding, timed out

access.redhat.com

여기에서도 확인가능

https://idchowto.com/?p=28389

 

idchowto.com - 스마일서브(Cloudv.kr)

IDC구축,운영,보안등 모든 지식을 공유합니다

idchowto.com

 

728x90
SMALL

'WorkHolic' 카테고리의 다른 글

달달한 벌꿀 스틱  (0) 2021.03.31
휴대폰 만한 미니 PC  (0) 2021.03.29
SSD 돌연사  (0) 2021.03.15
리눅스를 이용한 usb 디스크 복제  (1) 2021.02.25
HP DL360 Gen10 Server 도착  (0) 2020.12.13
Posted by gromet

블로그 이미지
나는 운이 좋은 사람이다 나는 나날이 점점 더 좋아진다 내가 하는 선택과 행동은 반드시 성공으로 이어진다 내게는 인내력과 지속력이 있다 네게는 좋은것들만 모여든다
gromet

공지사항

Yesterday
Today
Total
반응형

달력

 « |  » 2024.9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

160x600