2020. 6. 12. 12:50ㆍOS/Linux
[디스크 SCSI-3 영구예약자원 확인]
sg_psersist -d [확인하고자 하는 디스크] -c
# sg_persist -d /dev/sdb -c
SCSI-3 영구 예약을 지원하지 않으면 명령어에
"지원되지 않는 명령(command not supported)" 오류 발생
지원을 하게되면 아래와 같이 출력된다.
#sg_persist -d /dev/sdb -c
LIO-ORG iscsi_shared_st 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): 0
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
'OS > Linux' 카테고리의 다른 글
[가상화]Linux KVM 설정시 브리지 설정 (0) | 2020.06.12 |
---|---|
[Command]디스크 관련 Command (0) | 2020.06.12 |
[Command]multipath (0) | 2020.06.12 |
[개념설명]Log (0) | 2020.06.11 |
[Command]간단 Command (0) | 2020.06.11 |