프로그램 사용/SMB(Samba)

samba - nfs - samba 0x80070021 오류

구차니 2015. 11. 9. 16:03

일단 윈7 되면서 SMB2 로 버전이 업되었고

SMB2 부터는 oplock을 끌수 없게 되었다고 한다.


그래서 win7에서 SMB2/3를 사용하지 않고 SMB1으로 강제 한뒤

oplock을 끌수는 있다고 하는데..


The SMBv2 protocol was introduced in Windows Vista and Windows Server 2008. 

The SMBv3 protocol was introduced in Windows 8 and Windows Server 2012.

[링크 : https://support.microsoft.com/en-us/kb/2696547]


일단 윈도우에서 파일 업로드가 안되는 에러가 발생해서 검색해보니

strict locking을 끄라고 해서 해봤더니.. 일단은 됨..(여전히 오래 걸리지만)


$ sudo vi /etc/samba/smb.conf

[global]

strict locking = no




[링크 : http://serverfault.com/...nfs4-mount-directory-window-clients-cannot-copy-file]