Hi,
1) I guess it would be better to ask such a question in a MS initiator related group. Maybe in microsoft.public.storage newsgroup.
2) I have little expirience with the command syntax. Used the utility for testing quite a bit ago...
3) Just tried the following syntax and it seems to work well:
Code: Select all
iscsicli LoginTarget iqn.2003-06.com.rocketdivision.starwind:host.ramdisk.ramdrive0 * 127.0.0.1 3260 * * * * * * * * * * * * * 1 0x0000000000000000 0 2 0
This creates BTL 0/2/0 as you need...
To make the target persistent, I've followed the previous command with the next one:
Code: Select all
iscsicli PersistentLoginTarget iqn.2003-06.com.rocketdivision.starwind:host.ramdisk.ramdrive0 * 127.0.0.1 3260 * * * * * * * * * * * * * 1 0x0000000000000000 0 2 0
Maybe you also need some playing with:
iscsicli AddTargetPortal ...
iscsicli ListTargets [ForceUpdate]
etc
I hope this helps.
l9nux wrote:Ok, I'm now having problems with this command.
iscsicli PersistentLoginTarget vtl0.changer.00e081619476.192 * * * * * * * * * * * * * * * * 1 0x0 0 2 0
When I enter this I get the following error:
Target LUN must be in 0x0123456789abcdef format
The parameter is incorrect.
I think it could be a problem with the mapping count, as I have no idea what this is? As you'll see, I've used 1 as the mapping count, but this was a guess!
Here is what I'm trying to set:
BUS: 0
Target ID: 2
Port: 3
LUN: 0
Any help with this is much apreciated!
Ray.