TA/Common
nfs 파일 시스템에서 파일 lock 이 되지 않을 때
옥탑방람보
2013. 2. 4. 14:45
java.io.IOException: no locks available
마운트시 -o nolock 옵션 적용
$> mount -t nfs -o nolock
fstab에 적용
$> vi /etc/fstab
XXX:/storageDir /local nfs nolock 0 0
---------------------------------------------------------
<rocks clusters>
nfs 파일 시스템에서 파일 lock 이 되지 않을 때
아래와 같이 수정하고 nfs 데몬 재시작, nfslock 데몬 재시작
(예상 관련 데몬: portmap, autofs)
[system]$ cat /etc/auto.home
user01 -fstype=nfs,nolock 111.111.111.111:/data/home/user01