Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- when a new LUN is added, how does the initiator kn...
System Administration
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-11-2009 12:19 AM
12-11-2009 12:19 AM
when a new LUN is added, how does the initiator know
i am a newbie.
the initiator is login and connected to an iscsi target. the target has added a new LUN. the change is not effected in the initiator until relogin the target.
rlogin may affect existing connections.
pls advise if relogin is the only way.
the initiator is login and connected to an iscsi target. the target has added a new LUN. the change is not effected in the initiator until relogin the target.
rlogin may affect existing connections.
pls advise if relogin is the only way.
2 REPLIES
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-11-2009 05:12 AM
12-11-2009 05:12 AM
Re: when a new LUN is added, how does the initiator know
The rescan-scsi-bus.sh should detect changes.
Have you tried the script?
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html
http://www.garloff.de/kurt/linux/
Have you tried the script?
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html
http://www.garloff.de/kurt/linux/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-11-2009 05:41 AM
12-11-2009 05:41 AM
Re: when a new LUN is added, how does the initiator know
The iscsiadm command has a "--rescan" option exactly for this situation.
From the http://www.open-iscsi.org/docs/README document:
----
- Perform a SCSI scan on a session
./iscsiadm -m session -r 1 --rescan
This function also works in node mode. instead of the "-r $sid" argument, you would pass in the node info like targetname and/or portal, and/or interface.
Note: Rescanning does not delete old LUNs. It will only pick up new ones.
----
MK
From the http://www.open-iscsi.org/docs/README document:
----
- Perform a SCSI scan on a session
./iscsiadm -m session -r 1 --rescan
This function also works in node mode. instead of the "-r $sid" argument, you would pass in the node info like targetname and/or portal, and/or interface.
Note: Rescanning does not delete old LUNs. It will only pick up new ones.
----
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP