Skip to content

Instantly share code, notes, and snippets.

@alicefr
alicefr / SCSI persistent reservation.md
Last active January 22, 2025 17:06
Create local scsi disk and test scsi persistent reservation

Tools installation

yum install targetcli sg3_utils

Create loopback scsi target

modprobe tcm_loop
mount -t configfs configfs /sys/kernel/config/

mkdir -p /disks