Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.10.2. pNFS에서 SCSI 장치 호환성 확인

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

사전 요구 사항

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

절차 8.4. pNFS에서 SCSI 장치 호환성 확인

  • 서버와 클라이언트 모두에서 적절한 SCSI 장치 지원이 있는지 확인합니다.
    # sg_persist --in --report-capabilities --verbose path-to-scsi-device
    Persist through Power losts Active(PTP L_A) 비트가 설정되었는지 확인합니다.

    예 8.8. pNFS SCSI를 지원하는 SCSI 장치

    다음은 pNFS SCSI를 지원하는 SCSI 장치의 sg_persist 출력 예입니다. POST PL_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) 도움말 페이지