← Documents Documentation/admin-guide/cifs/introduction.rst GitHub 원문 ↗

Linux 6.18.37 · Administration / CIFS

CIFS and SMB3 client introduction

Linux CIFS VFS가 지원하는 SMB dialect, SMB3.1.1 권장 이유, 보안·성능·POSIX 기능과 mount.cifs 및 cifs-utils 자료를 소개합니다.

Source pathDocumentation/admin-guide/cifs/introduction.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Protocol과 server 호환성

introduction.rst:1-22

SMB에서 CIFS, SMB2, SMB3.1.1로 이어지는 dialect와 Windows, Samba, Apple, NAS, cloud server 호환성을 설명합니다.

기능과 user space 도구

introduction.rst:23-53

Security, 병렬 I/O, caching, POSIX 및 internationalization 기능과 `mount.cifs`, `smbinfo`, `setcifsacl`의 배포 위치를 정리합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 ============
2 Introduction
3 ============
4
5 This is the client VFS module for the SMB3 NAS protocol as well
6 as for older dialects such as the Common Internet File System (CIFS)
7 protocol which was the successor to the Server Message Block
8 (SMB) protocol, the native file sharing mechanism for most early
9 PC operating systems. New and improved versions of CIFS are now
10 called SMB2 and SMB3. Use of SMB3 (and later, including SMB3.1.1
11 the most current dialect) is strongly preferred over using older
12 dialects like CIFS due to security reasons. All modern dialects,
13 including the most recent, SMB3.1.1, are supported by the CIFS VFS
14 module. The SMB3 protocol is implemented and supported by all major
15 file servers such as Windows (including Windows 2019 Server), as
16 well as by Samba (which provides excellent CIFS/SMB2/SMB3 server
17 support and tools for Linux and many other operating systems).
18 Apple systems also support SMB3 well, as do most Network Attached
19 Storage vendors, so this network filesystem client can mount to a
20 wide variety of systems. It also supports mounting to the cloud
21 (for example Microsoft Azure), including the necessary security
22 features.
23
24 The intent of this module is to provide the most advanced network
25 file system function for SMB3 compliant servers, including advanced
26 security features, excellent parallelized high performance i/o, better
27 POSIX compliance, secure per-user session establishment, encryption,
28 high performance safe distributed caching (leases/oplocks), optional packet
29 signing, large files, Unicode support and other internationalization
30 improvements. Since both Samba server and this filesystem client support the
31 CIFS Unix extensions, and the Linux client also supports SMB3 POSIX extensions,
32 the combination can provide a reasonable alternative to other network and
33 cluster file systems for fileserving in some Linux to Linux environments,
34 not just in Linux to Windows (or Linux to Mac) environments.
35
36 This filesystem has a mount utility (mount.cifs) and various user space
37 tools (including smbinfo and setcifsacl) that can be obtained from
38
39 https://git.samba.org/?p=cifs-utils.git
40
41 or
42
43 git://git.samba.org/cifs-utils.git
44
45 mount.cifs should be installed in the directory with the other mount helpers.
46
47 For more information on the module see the project wiki page at
48
49 https://wiki.samba.org/index.php/LinuxCIFS
50
51 and
52
53 https://wiki.samba.org/index.php/LinuxCIFS_utils
54

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

SMB3 client VFS와 지원 dialect

1-22

이 module은 SMB3 NAS protocol을 위한 client VFS module이며, 초기 PC 운영체제 대부분의 기본 file sharing 방식이었던 Server Message Block(SMB)의 후속 protocol인 Common Internet File System(CIFS) 같은 오래된 dialect도 지원합니다. 새롭게 개선된 CIFS version은 SMB2와 SMB3라고 부릅니다.

보안상의 이유로 CIFS 같은 오래된 dialect보다 SMB3 이상을 사용할 것을 강력히 권장합니다. 현재 가장 최신인 SMB3.1.1을 포함해 모든 modern dialect를 CIFS VFS module이 지원합니다.

Windows 2019 Server를 포함한 Windows와 Samba 등 주요 file server가 SMB3를 구현하고 지원합니다. Samba는 Linux 및 여러 운영체제를 위한 우수한 CIFS/SMB2/SMB3 server 지원과 도구를 제공합니다. Apple system과 대부분의 Network Attached Storage vendor도 SMB3를 잘 지원하므로 이 network filesystem client는 매우 다양한 system을 mount할 수 있습니다. 필요한 security 기능을 포함해 Microsoft Azure 같은 cloud에도 mount할 수 있습니다.

SMB dialect 계보와 권장 선택
SMBCIFSSMB2SMB3SMB3.1.1
Legacy compatibilityPrefer SMB3 or laterCurrent dialect

호환성은 유지하지만 modern deployment에는 SMB3 계열을 권장합니다.

보안, 성능과 POSIX 기능

23-34

이 module의 목적은 SMB3 호환 server에 가장 발전된 network filesystem 기능을 제공하는 것입니다. 여기에는 고급 security 기능, 뛰어난 병렬 고성능 I/O, 향상된 POSIX 준수, 안전한 user별 session 수립, encryption, 고성능의 안전한 distributed caching(leases/oplocks), 선택적 packet signing, large file, Unicode 지원과 기타 internationalization 개선이 포함됩니다.

Samba server와 이 filesystem client는 모두 CIFS Unix extensions를 지원하며 Linux client는 SMB3 POSIX extensions도 지원합니다. 따라서 두 구성요소를 조합하면 Linux와 Windows 또는 Linux와 Mac 환경뿐 아니라 일부 Linux 간 file serving 환경에서도 다른 network 및 cluster filesystem의 합리적인 대안이 될 수 있습니다.

CIFS VFS의 주요 기능
관점기능
SecurityUser별 session, encryption, packet signing
Performance병렬 I/O, leases/oplocks, large file
CompatibilityCIFS Unix extensions, SMB3 POSIX extensions
InternationalizationUnicode 및 관련 개선

Protocol이 제공하려는 기능을 운영 관점별로 정리했습니다.

mount.cifs와 관련 자료

35-53

이 filesystem에는 mount utility인 `mount.cifs`와 `smbinfo`, `setcifsacl`을 포함한 여러 user space 도구가 있습니다. 도구는 다음 cifs-utils repository에서 받을 수 있습니다.

`mount.cifs`는 다른 mount helper와 같은 directory에 설치해야 합니다.

Module과 user space utility에 관한 자세한 정보는 다음 project wiki에서 확인할 수 있습니다.