Editing
Mounting iSCSI LUNs
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Establishing Sessions == Mounting the LUN on the storage server to the client system is a two-part process. First, you have to establish a session between the client (initiator in iSCSI vocabulary) and the target (server). The first step is to connect to the server to see what LUNs it has available: iscsiadm -m discovery -t st -p <SERVER-IP> This will produce output similar to: 10.2.0.201:3260,1 iqn.2001-05.com.equallogic:0-8a0906-52b816708-021a01fa52261173-shared 10.2.0.201:3260,1 iqn.2001-05.com.equallogic:0-8a0906-85f816708-38832e635165c2b0-files The first part is the server IP and port (should be the same as specified in the command), but the last part of each line is the '''''iqn''''' for the LUN being advertised. The last part of the iqn should be the name of the LUN/volume ... if there is a problem identifying which one, look back at the storage server. Establishing a session for a LUN should be as simple as: iscsiadm -m node -T <iqn from above> -p <SERVER-IP> -l Once this is done (and if you set the node startup to 'automatic' above), it will persist across reboots and you should not have to do this again.
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information