Enable scsi features (SCSI page 83h VPD descriptor) that is required by failover clustering
Issue
- Enable scsi features SCSI page 83h VPD descriptor and SCSI-3 Persistent Reservation (PR) that is required by failover clustering (and some Linux CLI tools such as sg3_utils):
[root@guest-vm ~]# sg_vpd /dev/sda -l
Supported VPD pages VPD page:
[PQual=0 Peripheral device type: disk]
0x00 Supported VPD pages [sv]
0x80 Unit serial number [sn]
0x83 Device identification [di]
0x89 ATA information (SAT) [ai]
0xb0 Block limits (SBC) [bl]
0xb1 Block device characteristics (SBC) [bdc]
0xb2 Logical block provisioning (SBC) [lbpv]
0xb9 Concurrent positioning ranges [cpr]
[root@guest-vm ~]#
[root@guest-vm ~]# sg_vpd /dev/sda -l --page=0x83
Device Identification VPD page:
[PQual=0 Peripheral device type: disk]
Addressed logical unit:
designator type: vendor specific [0x0], code set: ASCII
vendor specific: QM00001
designator type: T10 vendor identification, code set: ASCII
vendor id: ATA
vendor specific: QEMU HARDDISK QM00001
-
Enable scsi feature :
-
These two features were available in RHV according to documentation:
Enable SCSI Pass-Through (Direct LUN): Available when the Interface is set to VirtIO-SCSI. Selecting this check box enables passthrough of a physical SCSI device to the virtual disk. A VirtIO-SCSI interface with SCSI passthrough enabled automatically includes SCSI discard support. When this check box is not selected, the virtual disk uses an emulated SCSI device.
Allow Privileged SCSI I/O (Direct LUN): Available when the Enable SCSI Pass-Through check box is selected. Selecting this check box enables unfiltered SCSI Generic I/O (SG_IO) access, allowing privileged SG_IO commands on the disk. This is required for persistent reservations.
- How can they be enabled in OpenStack 17.1?
Environment
- Red Hat OpenStack Services on OpenShift 18.0 (RHOSO)
- Red Hat OpenStack Platform 17.1 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.