zfs – Windows Server 2016群集磁盘的LIO iSCSI目标 – 设备尚未就绪

我在Fedora 22计算机上配置了LIO iSCSI Target,将1个LUN导出到2个 Windows Server 2016计算机,这两个计算机都能够无问题地访问磁盘.

这些服务器是HA群集的一部分,当我尝试将磁盘添加到群集时,我收到错误消息,指出“设备尚未就绪”.验证工具说存储因为SCSI-3持久保留而没有通过,但是从我的研究中,这应该给出与我收到的不同的错误.

Creating the physical disk resource for 'Cluster Disk 1'.

Bringing the resource for 'Cluster Disk 1' online.

There was an error creating,configuring,or bringing online the Physical Disk resource (disk) 'Cluster Disk 1'.

The following errors occurred while adding storage to the cluster:

The resource 'Cluster Disk 1' did not come online.

The desired state change for 'Cluster Disk 1' did not occur before the timeout expired.

这是我的iSCSI目标:

o- / ........................................................................................................... [...]
  o- backstores ................................................................................................ [...]
  | o- block .................................................................................... [Storage Objects: 1]
  | | o- ha1 ................................................ [/dev/delta/volpool/ha1 (200.0GiB) write-thru activated]
  | o- fileio ................................................................................... [Storage Objects: 0]
  | o- pscsi .................................................................................... [Storage Objects: 0]
  | o- ramdisk .................................................................................. [Storage Objects: 0]
  | o- user ..................................................................................... [Storage Objects: 0]
  o- iscsi .............................................................................................. [Targets: 1]
  | o- iqn.2017-12.net.hirstgroup.adx.delta:storage.target00 ............................................... [TPGs: 1]
  |   o- tpg1 ................................................................................. [no-gen-acls,no-auth]
  |     o- acls ............................................................................................ [ACLs: 4]
  |     | o- iqn.1991-05.com.microsoft:dc1.adx.hirstgroup.net ....................................... [Mapped LUNs: 1]
  |     | | o- mapped_lun0 ..................................................................... [lun0 block/ha1 (rw)]
  |     | o- iqn.1991-05.com.microsoft:dc2.adx.hirstgroup.net ....................................... [Mapped LUNs: 1]
  |     | | o- mapped_lun0 ..................................................................... [lun0 block/ha1 (rw)]
  |     | o- iqn.2017-12.net.hirstgroup.adx.dc1:dc1 ................................................. [Mapped LUNs: 1]
  |     | | o- mapped_lun0 ..................................................................... [lun0 block/ha1 (rw)]
  |     | o- iqn.2017-12.net.hirstgroup.adx.delta:iqn.1991-05.com.microsoft:dc2.adx.hirstgroup.net .. [Mapped LUNs: 1]
  |     |   o- mapped_lun0 ..................................................................... [lun0 block/ha1 (rw)]
  |     o- luns ............................................................................................ [LUNs: 1]
  |     | o- lun0 ............................................................... [block/ha1 (/dev/delta/volpool/ha1)]
  |     o- portals ...................................................................................... [Portals: 1]
  |       o- 0.0.0.0:3260 ....................................................................................... [OK]
  o- loopback ........................................................................................... [Targets: 0]
  o- vhost .............................................................................................. [Targets: 0]

所以,我不确定我在这里做错了什么,一切似乎都有效,除了磁盘不会添加到集群.我在研究中看到的一件事是SCSI-3 Persistant Reservations是必需的,但是根据我的理解,LIO确实支持这一点.我的块设备实际上是一个精简配置的zvol,因为我在这台机器上运行ZFS.

希望有人可以帮助澄清这里出了什么问题.

您可能希望尝试清除SCSI-3持久保留,因为LIO可能会“忘记”在LUN所有权更改后更新它们.

Clear-ClusterDiskReservation

相关文章

文章浏览阅读2.2k次,点赞6次,收藏20次。在我们平时办公工作...
文章浏览阅读1k次。解决 Windows make command not found 和...
文章浏览阅读3.2k次,点赞2次,收藏6次。2、鼠标依次点击“计...
文章浏览阅读1.3w次。蓝光版属于高清版的一种。BD英文全名是...
文章浏览阅读974次,点赞7次,收藏8次。提供了更强大的功能,...
文章浏览阅读1.4w次,点赞5次,收藏22次。如果使用iterator的...