Recebeu RESERVE / RELEASE SPC-2 legado enquanto existem registros SPC-3 ativos, retornando RESERVATION_CONFLICT

1

Eu tenho 2% de backstoresiSCSI fileio.

Eu tento Determine se os discos compartilhados podem ser usados como discos desempatadores . Para isso eu corro no iniciador iSCSI uma ferramenta da IBM para liberar a reserva:

[root@softiwarp-1 ~]# /media/distr-ro/db2/10.5/linuxx64/v10.5fp7_linuxx64_universal_fixpack/universal/./db2/linuxamd64/install/tb_break -u -t SCSI WWID='scsi_id -g -u /dev/sdd'
Initializing SCSI tie-breaker (WWID=36001405bb9264c9e8c145429dbc76047)
Releasing tie-breaker (WWID=36001405bb9264c9e8c145429dbc76047)
tb_release status 0 (errno=0)
[root@softiwarp-1 ~]# /media/distr-ro/db2/10.5/linuxx64/v10.5fp7_linuxx64_universal_fixpack/universal/./db2/linuxamd64/install/tb_break -u -t SCSI WWID='scsi_id -g -u /dev/sde'
Initializing SCSI tie-breaker (WWID=36001405ed3a0a03628a4108bc3e24a82)
Releasing tie-breaker (WWID=36001405ed3a0a03628a4108bc3e24a82)
tb_release status -1 (errno=25)

Para um dos discos, o comando é bem-sucedido. O outro falha e no alvo no dmesg eu vejo

Received legacy SPC-2 RESERVE/RELEASE while active SPC-3 registrations exist, returning RESERVATION_CONFLICT

O que isso significa?

/iscsi/iqn.20...ample:t1/tpg1> ls /
o- / ......................................................................................................................... [...]
  o- backstores .............................................................................................................. [...]
  | o- block .................................................................................................. [Storage Objects: 0]
  | o- fileio ................................................................................................. [Storage Objects: 2]
  | | o- shareddata ................................... [/home/libvirt/images/default/test_iSCSI.img (20.0GiB) write-back activated]
  | | o- shareddata_tb .............................. [/home/libvirt/images/default/test_iSCSI2.img (100.0MiB) write-back activated]
  | o- pscsi .................................................................................................. [Storage Objects: 0]
  | o- ramdisk ................................................................................................ [Storage Objects: 0]
  o- iscsi ............................................................................................................ [Targets: 1]
  | o- iqn.2014-08.com.example:t1 ........................................................................................ [TPGs: 1]
  |   o- tpg1 ............................................................................................... [no-gen-acls, no-auth]
  |     o- acls .......................................................................................................... [ACLs: 1]
  |     | o- iqn.2014-08.com.example:client ....................................................................... [Mapped LUNs: 2]
  |     |   o- mapped_lun0 ........................................................................... [lun0 fileio/shareddata (rw)]
  |     |   o- mapped_lun1 ........................................................................ [lun1 fileio/shareddata_tb (rw)]
  |     o- luns .......................................................................................................... [LUNs: 2]
  |     | o- lun0 ................................................ [fileio/shareddata (/home/libvirt/images/default/test_iSCSI.img)]
  |     | o- lun1 ............................................ [fileio/shareddata_tb (/home/libvirt/images/default/test_iSCSI2.img)]
  |     o- portals .................................................................................................... [Portals: 1]
  |       o- [::0]:3260 ....................................................................................................... [OK]
  o- loopback ......................................................................................................... [Targets: 0]
    
por basin 20.06.2016 / 12:40

0 respostas