TrueNAS Logo

Working With TrueNAS Initiator iSCSI Paths

While updating iSCSI links on my SAN to 10Gbps I wanted to gracefully remove the existing 1Gbps iSCSI paths from my TrueNAS.

Process to Change iSCSI Paths in TrueNAS

Edit /conf/base/etc/iscsi.conf and change the IP in t0 and t1 to the new IPs. My IQNs remained the same.

Run the following commands to manually connect to the new IPs and then check paths:

iscsictl -An t0
iscsictl -An t1
iscsisct -L
4 paths to storage
2 1Gbps paths and 2 10Gbps paths

Run the following commands to remove the paths that are being abandoned and check the paths:

iscsictl -R -p 192.168.1.151
iscsictl -R -p 192.168.1.152
iscsictl -L
2 Paths to storage
Two paths remain after removing the old paths

Check the pool and see if the iSCSI disk is online. Then write to a file.

Online Pool
The Pool is online
Pool touch test
Touch test complete!
Host Connections
Left ports on each CT# are 1Gbps. Right ports are 10Gbps.

References

man iscsictl

people.freebsd.org

Leave a Reply

Your email address will not be published. Required fields are marked *