7.3. pNFS와 호환되는 SCSI 장치 확인

다음 절차에서는 SCSI 장치가 pNFS SCSI 레이아웃을 지원하는지 확인합니다.

사전 요구 사항

  • sg3_utils 패키지를 설치합니다.

    # dnf install sg3_utils

절차

  • 서버와 클라이언트 모두에서 적절한 SCSI 장치 지원이 있는지 확인합니다.

    # sg_persist --in --report-capabilities --verbose path-to-scsi-device

    Persist throughput Power Loss Active (PTPL_A) bit가 설정되어 있는지 확인합니다.

    예 7.1. pNFS SCSI을 지원하는 SCSI 장치

    다음은 pNFS SCSI을 지원하는 SCSI 장치의 sg_persist 출력의 예입니다. PTPL_A 비트는 1 을 보고합니다.

        inquiry cdb: 12 00 00 00 24 00
        Persistent Reservation In cmd: 5e 02 00 00 00 00 00 20 00 00
      LIO-ORG   block11           4.0
      Peripheral device type: disk
    Report capabilities response:
      Compatible Reservation Handling(CRH): 1
      Specify Initiator Ports Capable(SIP_C): 1
      All Target Ports Capable(ATP_C): 1
      Persist Through Power Loss Capable(PTPL_C): 1
      Type Mask Valid(TMV): 1
      Allow Commands: 1
      Persist Through Power Loss Active(PTPL_A): 1
        Support indicated in Type mask:
          Write Exclusive, all registrants: 1
          Exclusive Access, registrants only: 1
          Write Exclusive, registrants only: 1
          Exclusive Access: 1
          Write Exclusive: 1
          Exclusive Access, all registrants: 1

추가 리소스

  • sg_persist(8) 매뉴얼 페이지