iscsi
Это старая версия документа!
Настройка iSCSI CentOS8
<pre> dnf -y install targetcli </pre>
<pre> firewall-cmd --permanent --add-port=3260/tcp firewall-cmd –reload systemctl enable target --now targetcli </pre>
<pre> cd backstores/block create diskraid10 /dev/md126 cd /iscsi create iqn.2021-01.local.centos8:disk1 cd iqn.2021-01.local.centos8:disk1/tpg1 set attribute authentication=0 demo_mode_write_protect=0 set attribute generate_node_acls=1 cd luns create /backstores/block/diskraid5 cd / saveconfig exit </pre>
исправление статуса
Сетевой диск требует 2 пути до него, если сетевуха одна, то можно пометить как локальный
<pre> esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device diskid --option="enable_local" (replace the diskid with the disk identifier) esxcli storage core claiming reclaim -d diskid (replace the diskid with the disk identifier) esxcli storage core claimrule load esxcli storage core claimrule run </pre>
iscsi.1713288291.txt.gz · Последнее изменение: (внешнее изменение)