Привет, пару дней назад я удалил ISCSI target, настроенный через GUI, в PVE и создал новый. Теперь, изучая логи, PVE непрерывно пытается подключиться к этому (старому) target и, логично, безуспешно.
PVE 8.2.2
/etc/pve/storage.cfg:
```
dir: local
path /var/lib/vz
content vztmpl,backup,iso
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
cifs: syn-smb-1
path /mnt/pve/syn-smb-1
server 10.0.3.30
share home
content snippets,iso,rootdir,backup,images,vztmpl
prune-backups keep-all=1
username pve
# новый
iscsi: syn-iscsi-0
portal 10.0.3.30
target iqn.2000-01.com.synology:DiskStation.Target-1.a9ad618a0fe
content none
lvm: syn-lvm-0
vgname syn-iscsi
base syn-iscsi-0:0.0.1.scsi-36001405301708cdd0e11d47a7db3abd6
content rootdir,images
saferemove 1
shared 1
lvm: syn-lvm-1
vgname syn-iscsi2
base syn-iscsi-0:0.0.2.scsi-360014050b896e89d0ee4d41ecd8506d9
content rootdir,images
saferemove 1
shared 1
```
Насколько я могу судить, неисправностей в хранилище нет.
Логи:
```
May 05 20:53:51 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:51 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:53:56 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:56 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:53:59 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:59 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:54:02 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:54:02 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
```
10.0.0.30 - это "старое" устройство хранения, которое не должно использоваться для ISCSI-соединений.
```
iscsiadm -m session -P 1
```
```
Target: iqn.2000-01.com.synology:DiskStation.Target-1.a9ad618a0fe (non-flash)
Current Portal: 10.0.3.30:3260,1
Persistent Portal: 10.0.3.30:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:d34f76eea0c9
Iface IPaddress: 10.0.3.20
Iface HWaddress: default
Iface Netdev: default
SID: 1
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
```
Какие есть предложения, как предотвратить подключение PVE к устройству 10.0.0.30? Что уже пробовал: перезагрузка.
Люблю вас!
Phil
PVE 8.2.2
/etc/pve/storage.cfg:
```
dir: local
path /var/lib/vz
content vztmpl,backup,iso
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
cifs: syn-smb-1
path /mnt/pve/syn-smb-1
server 10.0.3.30
share home
content snippets,iso,rootdir,backup,images,vztmpl
prune-backups keep-all=1
username pve
# новый
iscsi: syn-iscsi-0
portal 10.0.3.30
target iqn.2000-01.com.synology:DiskStation.Target-1.a9ad618a0fe
content none
lvm: syn-lvm-0
vgname syn-iscsi
base syn-iscsi-0:0.0.1.scsi-36001405301708cdd0e11d47a7db3abd6
content rootdir,images
saferemove 1
shared 1
lvm: syn-lvm-1
vgname syn-iscsi2
base syn-iscsi-0:0.0.2.scsi-360014050b896e89d0ee4d41ecd8506d9
content rootdir,images
saferemove 1
shared 1
```
Насколько я могу судить, неисправностей в хранилище нет.
Логи:
```
May 05 20:53:51 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:51 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:53:56 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:56 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:53:59 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:53:59 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
May 05 20:54:02 pve iscsid[7232]: connection-1:0 cannot make a connection to fe80::211:32ff:fef5:b94:3260 (-1,22)
May 05 20:54:02 pve iscsid[7232]: connect to 10.0.0.30:3260 failed (Connection refused)
```
10.0.0.30 - это "старое" устройство хранения, которое не должно использоваться для ISCSI-соединений.
```
iscsiadm -m session -P 1
```
```
Target: iqn.2000-01.com.synology:DiskStation.Target-1.a9ad618a0fe (non-flash)
Current Portal: 10.0.3.30:3260,1
Persistent Portal: 10.0.3.30:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:d34f76eea0c9
Iface IPaddress: 10.0.3.20
Iface HWaddress: default
Iface Netdev: default
SID: 1
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
```
Какие есть предложения, как предотвратить подключение PVE к устройству 10.0.0.30? Что уже пробовал: перезагрузка.
Люблю вас!
Phil
