요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
저장소 동작
jfs.rst:11-34문자셋 변환, 볼륨 확장과 저널 무결성 선택이 동작하는 조건을 정리합니다.
오류와 권한
jfs.rst:35-50파일시스템 오류 대응 방식과 uid·gid·umask 재정의 옵션을 설명합니다.
TRIM 운용
jfs.rst:51-66discard 최소 길이, FITRIM과 SSD·thin provisioning에서의 사용법을 안내합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
===========================================
2
IBM's Journaled File System (JFS) for Linux
3
===========================================
5
JFS Homepage: http://jfs.sourceforge.net/
7
The following mount options are supported:
9
(*) == default
11
iocharset=name
12
Character set to use for converting from Unicode to
13
ASCII. The default is to do no conversion. Use
14
iocharset=utf8 for UTF-8 translations. This requires
15
CONFIG_NLS_UTF8 to be set in the kernel .config file.
16
iocharset=none specifies the default behavior explicitly.
18
resize=value
19
Resize the volume to <value> blocks. JFS only supports
20
growing a volume, not shrinking it. This option is only
21
valid during a remount, when the volume is mounted
22
read-write. The resize keyword with no value will grow
23
the volume to the full size of the partition.
25
nointegrity
26
Do not write to the journal. The primary use of this option
27
is to allow for higher performance when restoring a volume
28
from backup media. The integrity of the volume is not
29
guaranteed if the system abnormally abends.
31
integrity(*)
32
Commit metadata changes to the journal. Use this option to
33
remount a volume where the nointegrity option was
34
previously specified in order to restore normal behavior.
36
errors=continue
37
Keep going on a filesystem error.
38
errors=remount-ro(*)
39
Remount the filesystem read-only on an error.
40
errors=panic
41
Panic and halt the machine if an error occurs.
43
uid=value
44
Override on-disk uid with specified value
45
gid=value
46
Override on-disk gid with specified value
47
umask=value
48
Override on-disk umask with specified octal value. For
49
directories, the execute bit will be set if the corresponding
50
read bit is set.
52
discard=minlen, discard/nodiscard(*)
53
This enables/disables the use of discard/TRIM commands.
54
The discard/TRIM commands are sent to the underlying
55
block device when blocks are freed. This is useful for SSD
56
devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl
57
command is also available together with the nodiscard option.
58
The value of minlen specifies the minimum blockcount, when
59
a TRIM command to the block device is considered useful.
60
When no value is given to the discard option, it defaults to
61
64 blocks, which means 256KiB in JFS.
62
The minlen value of discard overrides the minlen value given
63
on an FITRIM ioctl().
65
The JFS mailing list can be subscribed to by using the link labeled
66
"Mail list Subscribe" at our web page http://jfs.sourceforge.net/
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
JFS 문서와 기본값 표기
1-10이 문서는 Linux용 IBM Journaled File System(JFS)이 지원하는 마운트 옵션을 설명합니다.
옵션 이름 뒤의 `(*)` 표시는 기본값을 뜻합니다.
문자셋, 크기 확장과 저널 무결성
11-34| 옵션 | 설명 |
|---|---|
| iocharset=name | 유니코드와 ASCII 사이의 변환에 사용할 문자 집합을 지정합니다. 기본값은 변환하지 않는 것입니다. UTF-8을 사용하려면 `iocharset=utf8`을 지정하며, 이 기능에는 `CONFIG_NLS_UTF8`이 필요합니다. `iocharset=none`은 기본 동작을 명시적으로 선택합니다. |
| resize=value | 볼륨 크기를 `<value>`개의 블록으로 변경합니다. JFS 볼륨은 확장할 수만 있고 축소할 수 없습니다. 이 옵션은 read-write로 remount할 때만 유효합니다. 값 없이 `resize`만 지정하면 볼륨이 파티션 전체 크기까지 확장됩니다. |
| nointegrity | 저널에 기록하지 않습니다. 백업 미디어에서 볼륨을 복원할 때 성능을 높이는 용도로 주로 사용합니다. 시스템이 비정상 종료(abnormal abend)되면 볼륨 무결성이 보장되지 않습니다. |
| integrity(*) | 메타데이터 변경을 저널에 커밋합니다. `nointegrity`를 사용한 뒤 이 옵션으로 remount하면 일반 동작으로 돌아갑니다. |
파일시스템 오류와 소유권 재정의
35-50| 옵션 | 설명 |
|---|---|
| errors=continue | 파일시스템 오류가 발생해도 계속 진행합니다. |
| errors=remount-ro(*) | 파일시스템 오류가 발생하면 파일시스템을 read-only로 remount합니다. |
| errors=panic | 파일시스템 오류가 발생하면 panic을 일으키고 시스템을 정지합니다. |
| uid=value | 디스크에 저장된 사용자 식별자(uid)를 지정한 값으로 재정의합니다. |
| gid=value | 디스크에 저장된 그룹 식별자(gid)를 지정한 값으로 재정의합니다. |
| umask=value | 디스크에 저장된 8진수 umask를 지정한 값으로 재정의합니다. 디렉터리에서는 해당 읽기 비트가 설정되어 있으면 실행 비트도 설정됩니다. |
discard/TRIM과 메일링 리스트
51-66| 옵션 | 설명 |
|---|---|
| discard=minlen, discard/nodiscard(*) | `discard`는 discard/TRIM 명령을 사용하고 `nodiscard`는 사용하지 않습니다. 블록이 해제되면 명령을 하부 블록 장치로 보내며, SSD와 sparse/thin provisioning LUN에서 유용합니다. `nodiscard` 상태에서도 `FITRIM` `ioctl()`을 사용할 수 있습니다. `minlen`은 TRIM 요청을 보낼 가치가 있다고 판단할 최소 블록 수입니다. JFS에서 `discard`의 기본 `minlen`은 64 blocks, 즉 256KiB입니다. 마운트 옵션의 `discard minlen`은 `FITRIM` `ioctl()`에 전달한 `minlen`보다 우선합니다. |
JFS 메일링 리스트에 가입하려면 JFS 홈페이지의 "Mail list Subscribe" 링크를 사용하십시오.
지원 범위
jfs.rst:1-10Linux JFS가 지원하는 마운트 옵션과 기본값 표기법을 소개합니다.