I'm trying to build a virtual environment for a DB cluster that requires a shared SCSI device to support PR (persistent reservation) commands.
However, the reservations only work for iSCSI disks and don't work for VBox shareable disks. Compare:
Code: Select all
# SATA
[root@softiwarp-1 ~]# sg_persist --in --no-inquiry --read-reservation --device=/dev/sdc
PR in: command not supported
# SCSI BusLogic
[root@softiwarp-1 ~]# sg_persist --in --no-inquiry --read-reservation --device=/dev/sdd
PR in: command not supported
# iSCSI
[root@softiwarp-1 ~]# sg_persist --in --no-inquiry --read-reservation --device=/dev/sde
PR generation=0x0, there is NO reservation held
[root@softiwarp-1 ~]# lsscsi
# SATA
[4:0:0:0] disk ATA VBOX HARDDISK 1.0 /dev/sdc
# SCSI BusLogic
[5:0:0:0] disk VBOX HARDDISK 1.0 /dev/sdd
# iSCSI
[6:0:0:0] disk LIO-ORG shareddata 4.0 /dev/sde