Re: A few newbie questions
On Wed, May 28, 2008 at 05:32:03AM -0700, jergendutch wrote: Hello, I have iscsi setup on some boxes. They can all mount a central target in succession but not at the same time. This is fine, I have installed GFS to make this work. I read somewhere (and this is where I need the help) that open-iscsi limits the number of connections per lun to one, and I need to increase this to the number of hosts. Can anyone tell me where this is, I cannot find it any more. Not sure where you read it, but that is false. The default LUN max is 512. My second question is about startup. At the moment I start iscsi, then I run the discovery command, then restart iscsi to see the disk. This seems wrong. Is there a better way? When you run the discovery command the results are cached. When you log-in the session is also cached. So you init script should take advantage of that and automaticly log-in to those targets. You did log-in to those targets after the discovery, right? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: A few newbie questions
On 28 Mai, 16:13, Konrad Rzeszutek [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 05:32:03AM -0700, jergendutch wrote: Hello, I have iscsi setup on some boxes. They can all mount a central target in succession but not at the same time. This is fine, I have installed GFS to make this work. I read somewhere (and this is where I need the help) that open-iscsi limits the number of connections per lun to one, and I need to increase this to the number of hosts. Can anyone tell me where this is, I cannot find it any more. Not sure where you read it, but that is false. The default LUN max is 512. Okay, so I have another problem then. Damn :/ My second question is about startup. At the moment I start iscsi, then I run the discovery command, then restart iscsi to see the disk. This seems wrong. Is there a better way? When you run the discovery command the results are cached. When you log-in the session is also cached. So you init script should take advantage of that and automaticly log-in to those targets. You did log-in to those targets after the discovery, right? I don't require login for the targets, they are on a private subnet. I will try again to see if they are cached (centos 5.1) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: A few newbie questions
jergendutch wrote: Hello, I have iscsi setup on some boxes. They can all mount a central target in succession but not at the same time. This is fine, I have installed GFS to make this work. I read somewhere (and this is where I need the help) that open-iscsi limits the number of connections per lun to one, and I need to increase this to the number of hosts. Can anyone tell me where this is, I cannot find it any more. If you have a target with LUN1 and one portal, and if you have hostA and hostB running open-iscsi. HostA will create one connection to the target and through that we will access LUN1 and any other logical units on the target. If the target only has one portal then we will only create one connection to the target for hostA (open-iscsi creates one connection per portal on the target basically). For hostB, the initiator running on that will create another connection to the target. My second question is about startup. At the moment I start iscsi, then I run the discovery command, then restart iscsi to see the disk. After discovery you can just run iscsiadm -m node -T target -p ip:port -l to login into a specific portal that was found. There are lots of variations on this. See the README. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---