RHV : Stale ISCSI sessions due to incorrect node.tpgt when logging into target.
Issue
- ISCSI targets with node.tpgt = 1 is created by default when vendor hardcoded value is 2460 .
- Results in the creation of multiple sessions with both node.tpgt = 1 and node.tpgt = 2460
- Host keeps creating files related to node.tpgt = 1 in the folder /var/lib/iscsi/nodes/target/ directory. Refer example below
# ls -l /var/lib/iscsi/nodes/iqn.2007-11.com.xxxxxxxxxxxxxx-v33cf398540db3e2a.000000d5.731407af/
drw-------. 2 root root 4096 Sep 20 13:42 19x.16x.26.40,3260,1
drw-------. 2 root root 4096 Sep 20 13:53 19x.16x.26.40,3260,2460
drw-------. 2 root root 4096 Sep 20 13:42 19x.16x.6.40,3260,1
drw-------. 2 root root 4096 Sep 20 13:53 19x.16x.6.40,3260,2460
Environment
- Red Hat Virtualization 4.x
- ISCSI Block Storage
- Nimble Storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
