I have a new Dell PowerEdge 2950 running CentOS 5.0 out-of-box and a Dell MD3000i. I am new to iscsi and, with google and included documentation, am having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives. I have printed out SMcli and iscsiadm documentation.
I have asked on the linux-poweredge@dell.com site, too.
Many leads, but there is something - be it a command, setting, or whatever else, that is just eluding me.
How do I get the RAID devices seen on my C 5.0 box?
The setup is currently on an isolated LAN and has no valuable data - all testing and experimenting by me, for now, to learn how it works, before putting it into production.
Thanks for any and all leads.
Scott
Scott R. Ehrlich wrote:
I have a new Dell PowerEdge 2950 running CentOS 5.0 out-of-box and a Dell MD3000i. I am new to iscsi and, with google and included documentation, am having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives. have printed out SMcli and iscsiadm documentation.
I have asked on the linux-poweredge@dell.com site, too.
Many leads, but there is something - be it a command, setting, or whatever else, that is just eluding me.
How do I get the RAID devices seen on my C 5.0 box?
The setup is currently on an isolated LAN and has no valuable data - all testing and experimenting by me, for now, to learn how it works, before putting it into production.
Thanks for any and all leads.
How do you have your open-iscsi setup on your CentOS box?
Did you define any LUN masks or CHAP authentication on the MD3000i?
The MD3000i has multiple iSCSI interfaces for fail-over mode, did you install the dm-multipath? How is that setup?
Need the info...
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Wed, 20 Aug 2008, Joseph L. Casale wrote:
having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives.
What's the size of the volume(s)?
I am currently experimenting with 2 x 500 GB
Post the output from #fdisk -l
Done many times - just shows the default layout of the PE2950's native hard drive.
Scott
jlc _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Joseph L. Casale wrote:
Post the output from #fdisk -l
Done many times - just shows the default layout of the PE2950's native hard drive.
Am I missing something here? So the OS doesn't see the volumes created by your raid controller? Do you have the module for your raid card loaded? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yeah, you're missing the iscsi part. Means the 'drives' are on a different system on the other end of a network link.
---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
Yeah, you're missing the iscsi part. Means the 'drives' are on a different system on the other end of a network link.
Heh, thought you were trying to export those discs *on* the iSCSI server and couldn't see them there, my bad :)
'iscsiadm -m discovery -p <ip of target>' wont give the target name, you need 'iscsiadm --mode discovery --type sendtargets --portal <ip of target>'
You also need to pass tcp 3260 through the firewall on the target, I have never used RH's target, does it do this for you? Iet allows you to define allowed/denied clients, does RH's?
jlc
Joseph L. Casale wrote:
Yeah, you're missing the iscsi part. Means the 'drives' are on a different system on the other end of a network link.
Heh, thought you were trying to export those discs *on* the iSCSI server and couldn't see them there, my bad :)
'iscsiadm -m discovery -p <ip of target>' wont give the target name, you need 'iscsiadm --mode discovery --type sendtargets --portal <ip of target>'
You also need to pass tcp 3260 through the firewall on the target, I have never used RH's target, does it do this for you? Iet allows you to define allowed/denied clients, does RH's?
jlc _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You're right. I grabbed the wrong copy of my notes.
You have to manually configure the firewall on the target.
Scott R. Ehrlich wrote:
I have a new Dell PowerEdge 2950 running CentOS 5.0 out-of-box and a Dell MD3000i. I am new to iscsi and, with google and included documentation, am having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives. I have printed out SMcli and iscsiadm documentation.
I have asked on the linux-poweredge@dell.com site, too.
Definitely suggest you update to the latest CentOS if you are in fact on a 5.0 box. I'll dig out some notes and post them later tonight.
On Wed, 20 Aug 2008, Jim Wildman wrote:
Scott R. Ehrlich wrote:
I have a new Dell PowerEdge 2950 running CentOS 5.0 out-of-box and a Dell MD3000i. I am new to iscsi and, with google and included documentation, am having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives. I have printed out SMcli and iscsiadm documentation.
I have asked on the linux-poweredge@dell.com site, too.
Definitely suggest you update to the latest CentOS if you are in fact on a 5.0 box. I'll dig out some notes and post them later tonight.
I'd greatly appreciate it. I'd also be curious how the version of Linux might impact my ability to access the partitions vs using iscsi commands to do so...
Scott
--
Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Scott R. Ehrlich wrote:
On Wed, 20 Aug 2008, Jim Wildman wrote:
Scott R. Ehrlich wrote:
I have a new Dell PowerEdge 2950 running CentOS 5.0 out-of-box and a Dell MD3000i. I am new to iscsi and, with google and included documentation, am having a heck of a time trying to get the RAID volumes I have created on the 3000i to be seen by the OS as usuable drives. I have printed out SMcli and iscsiadm documentation.
I have asked on the linux-poweredge@dell.com site, too.
Definitely suggest you update to the latest CentOS if you are in fact on a 5.0 box. I'll dig out some notes and post them later tonight.
I'd greatly appreciate it. I'd also be curious how the version of Linux might impact my ability to access the partitions vs using iscsi commands to do so...
Scott
From my notes on using iscsi CentOS to CentOS (Don't have any other iscsi devices)
on the initiator yum install iscsi-initiator-utils echo "InitiatorAlias=some_meaningful_name" >> /etc/iscsi/initiatorname.iscsi
service iscsid restart chkconfig iscsid on
then for each target (assuming no chap auth, etc)
iscsiadm -m discovery -p <ip of target>
grab the iqn and 'login' with it
iscsiadm -m node -T <iqn> -p <ip of target> -l
fdisk -l should show the new disk
if multipathd is running, and you repeat the -l command with the same iqn, but the other ip, then mulitpathd should join them up according to the rules you have setup (/etc/multipath.conf)
The iscsiadm commands as implemented by RH, maintain a persistent store of info in /var/lib/iscsi, not in /etc/iscsi.
To release a disk, use -u (instead of -l) or -o delete to remove it from /var/lib/iscsi
------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine