We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f2c9b commit 93589a1Copy full SHA for 93589a1
heartbeat/iSCSILogicalUnit.in
@@ -501,7 +501,7 @@ iSCSILogicalUnit_stop() {
501
# gone. Log a warning and still push ahead.
502
503
local backstore_type
504
- if targetcli /iscsi/${OCF_RESKEY_target_iqn}/tpg1/luns/lun${OCF_RESKEY_lun} status | grep ' fileio/' >/dev/null; then
+ if targetcli /backstores/fileio/${OCF_RESOURCE_INSTANCE} status >/dev/null 2>&1 ; then
505
backstore_type=fileio
506
else
507
backstore_type=block
0 commit comments