요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Other-command and read statistics
sysfs-class-scsi_tape:28-66Read/write 외 command count와 variable block-size tape의 requested read bytes, request count와 nanosecond wait를 제공합니다.
Write statistics
sysfs-class-scsi_tape:69-97Written byte count, write request count와 nanosecond completion wait를 제공하며 attribute 이름은 write_ms입니다.
Residual-on-error count
sysfs-class-scsi_tape:100-109SCSI mid-layer error와 함께 positive residual이 발견된 횟수를 세며 oversized read가 한 원인이 될 수 있습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/class/scsi_tape/*/stats/in_flight
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Show the number of I/Os currently in-flight between the st
module and the SCSI mid-layer.
Users:
What: /sys/class/scsi_tape/*/stats/io_ns
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total amount of time spent waiting for all I/O
to and from the tape drive to complete. This includes all
reads, writes, and other SCSI commands issued to the tape
drive. An example of other SCSI commands would be tape
movement such as a rewind when a rewind tape device is
closed. This item is measured in nanoseconds.
To determine the amount of time spent waiting for other I/O
to complete subtract read_ns and write_ns from this value.
Users:
What: /sys/class/scsi_tape/*/stats/other_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
The number of I/O requests issued to the tape drive other
than SCSI read/write requests.
Users:
What: /sys/class/scsi_tape/*/stats/read_byte_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total number of bytes requested from the tape drive.
This value is presented in bytes because tape drives support
variable length block sizes.
Users:
What: /sys/class/scsi_tape/*/stats/read_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total number of read requests issued to the tape
drive.
Users:
What: /sys/class/scsi_tape/*/stats/read_ns
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total amount of time in nanoseconds waiting for
read I/O requests to complete.
Users:
What: /sys/class/scsi_tape/*/stats/write_byte_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total number of bytes written to the tape drive.
This value is presented in bytes because tape drives support
variable length block sizes.
Users:
What: /sys/class/scsi_tape/*/stats/write_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total number of write requests issued to the tape
drive.
Users:
What: /sys/class/scsi_tape/*/stats/write_ms
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the total amount of time in nanoseconds waiting for
write I/O requests to complete.
Users:
What: /sys/class/scsi_tape/*/stats/resid_cnt
Date: Apr 2015
KernelVersion: 4.2
Contact: Shane Seymour <[email protected]>
Description:
Shows the number of times we found that a residual >0
was found when the SCSI midlayer indicated that there was
an error. For reads this may be a case of someone issuing
reads greater than the block size.
Users:
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Current in-flight tape IO
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/in_flight |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | st module과 SCSI mid-layer 사이에서 현재 in-flight 상태인 IO 수를 표시합니다. |
| Users |
Total tape IO completion time
11-25| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/io_ns |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Tape drive로 보내거나 받는 모든 IO가 완료되기를 기다린 total time을 표시합니다. Read, write와 tape movement 같은 다른 SCSI command를 모두 포함합니다. 예를 들어 rewind tape device를 close할 때 수행되는 rewind가 other command입니다. 단위는 nanoseconds입니다. Other IO completion wait만 구하려면 이 값에서 read_ns와 write_ns를 빼십시오. |
| Users |
io_ns는 read, write와 other SCSI command wait를 모두 포함합니다.
Non-read/write SCSI request count
28-35| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/other_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | SCSI read/write request 이외에 tape drive로 발행한 IO request 수입니다. |
| Users |
Requested read byte count
38-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/read_byte_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Tape drive에서 요청한 total byte 수를 표시합니다. Tape drive가 variable-length block size를 지원하므로 bytes 단위로 제공합니다. |
| Users |
Tape read request count
49-56| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/read_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Tape drive에 발행한 total read request 수를 표시합니다. |
| Users |
Tape read completion time
59-66| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/read_ns |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Read IO request가 완료되기를 기다린 total time을 nanoseconds 단위로 표시합니다. |
| Users |
Written byte count
69-77| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/write_byte_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Tape drive에 쓴 total byte 수를 표시합니다. Tape drive가 variable-length block size를 지원하므로 bytes 단위로 제공합니다. |
| Users |
Tape write request count
80-87| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/write_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Tape drive에 발행한 total write request 수를 표시합니다. |
| Users |
Tape write completion time
90-97| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/write_ms |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | Write IO request가 완료되기를 기다린 total time을 표시합니다. Attribute 이름은 write_ms이지만 원문이 규정하는 단위는 nanoseconds입니다. |
| Users |
Operation count, byte volume와 completion wait의 대응입니다.
Positive residual count on SCSI errors
100-109| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/scsi_tape/*/stats/resid_cnt |
| Date | 2015년 4월 |
| KernelVersion | 4.2 |
| Contact | Shane Seymour <[email protected]> |
| Description | SCSI mid-layer가 error를 나타냈을 때 residual > 0이 발견된 횟수를 표시합니다. Read에서는 block size보다 큰 read를 발행한 경우가 한 예입니다. |
| Users |
SCSI error와 positive residual이 함께 관측될 때 resid_cnt를 증가시킵니다.
In-flight and total IO time
sysfs-class-scsi_tape:1-25st module과 SCSI mid-layer 사이의 current in-flight 수와 read/write/other command를 포함한 total completion wait를 제공합니다.