Jam*_*rst 7 zfs iscsi high-availability windows-cluster windows-server-2016
我在 Fedora 22 机器上配置了一个 LIO iSCSI 目标,将 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.
Run Code Online (Sandbox Code Playgroud)
这是我的 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]
Run Code Online (Sandbox Code Playgroud)
所以,我不确定我在这里做错了什么,除了磁盘不会添加到集群之外,一切似乎都正常。我在研究中确实看到的一件事是,需要 SCSI-3 持久保留才能使其工作,但据我了解,LIO 确实支持这一点。我的块设备实际上是一个精简配置的 zvol,因为我在这台机器上运行 ZFS。
希望有人可以帮助澄清这里出了什么问题。
您可能想尝试清除 SCSI-3 Persistent Reservations,因为 LIO 可能会在 LUN 所有权更改后“忘记”更新它们。
归档时间: |
|
查看次数: |
1000 次 |
最近记录: |