요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
==================================
pNFS SCSI layout server user guide
==================================
This document describes support for pNFS SCSI layouts in the Linux NFS server.
With pNFS SCSI layouts, the NFS server acts as Metadata Server (MDS) for pNFS,
which in addition to handling all the metadata access to the NFS export,
also hands out layouts to the clients so that they can directly access the
underlying SCSI LUNs that are shared with the client.
To use pNFS SCSI layouts with the Linux NFS server, the exported file
system needs to support the pNFS SCSI layouts (currently just XFS), and the
file system must sit on a SCSI LUN that is accessible to the clients in
addition to the MDS. As of now the file system needs to sit directly on the
exported LUN, striping or concatenation of LUNs on the MDS and clients
is not supported yet.
On a server built with CONFIG_NFSD_SCSI, the pNFS SCSI volume support is
automatically enabled if the file system is exported using the "pnfs"
option and the underlying SCSI device support persistent reservations.
On the client make sure the kernel has the CONFIG_PNFS_BLOCK option
enabled, and the file system is mounted using the NFSv4.1 protocol
version (mount -o vers=4.1).
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
pNFS SCSI layout과 MDS
1-10`pNFS SCSI layout server user guide`는 Linux NFS server의 pNFS SCSI layout 지원을 설명합니다.
NFS server는 pNFS Metadata Server (MDS)로 동작해 NFS export의 metadata access를 처리하고, client에 layout을 전달해 공유된 underlying SCSI LUN에 직접 접근하게 합니다.
Filesystem·LUN·kernel 요구 사항
11-24| 관점 | 요구 사항 |
|---|---|
| MDS 역할 | Metadata access 처리와 client에 SCSI LUN layout 배포 |
| Filesystem | 현재 pNFS SCSI layout을 지원하는 XFS |
| Storage | MDS와 client가 함께 접근하는 SCSI LUN |
| 활성화 조건 | `CONFIG_NFSD_SCSI`, export의 `pnfs` option, persistent reservations |
Exported filesystem은 pNFS SCSI layout을 지원해야 하며 현재는 XFS만 해당합니다. Filesystem은 MDS와 client가 함께 접근할 수 있는 SCSI LUN에 직접 있어야 하고, LUN striping이나 concatenation은 아직 지원되지 않습니다.
`CONFIG_NFSD_SCSI`로 build한 server에서는 `pnfs` option으로 filesystem을 export하고 underlying SCSI device가 persistent reservations를 지원하면 pNFS SCSI volume support가 자동 활성화됩니다.
Client에서는 `CONFIG_PNFS_BLOCK`을 켜고 filesystem을 NFSv4.1 protocol version, 즉 `mount -o vers=4.1`로 mount합니다.
운영 핵심
pnfs-scsi-server.rst:1-24MDS가 SCSI LUN layout을 배포하려면 server build, export option과 reservation support가 모두 맞아야 합니다.