Questions tagged [iscsi]

The Internet Small Computer System Interface (iSCSI) is a transport protocol designed to communicate SCSI commands over IP networks. It is described by Internet RFC 3720, though it has been amended and corrected by later RFCs.

The Internet Small Computer System Interface (iSCSI) is a transport protocol designed to communicate SCSI commands over IP networks. It is described by Internet RFC 3720 (http://tools.ietf.org/html/rfc3720), though it has been amended and corrected by later RFCs.

RFC 3720

158 questions
2
votes
1 answer

Apache activemq and iscsi

We are planning to use the iscsi target to handle the Activemq master/slave setup. In this case we will mount a SAN storage volume on two virtual machines using the iscsi protocol and those two VMs would share the same mount (from SAN). So the…
2
votes
1 answer

Get target IP address of an iscsi device

Suppose I have an iSCSI device /dev/sdat, how do I know the IP address of it's target? The target driver is SCST, and the initiator is iSCSI. All I know is a device named /dev/sdat and nothing more. So how to get the IP address of it's target?
2
votes
1 answer

Why do we need special device drivers for booting OS using iSCSI HBA?

Suppose we are booting linux from an iSCSI LUN, the HBA can connect to the iSCSI target and read the LUNs, even during the stages before the device drivers in the OS are loaded. But during some stage the boot process, the open-iscsi initiator will…
Ashwin TV
  • 23
  • 3
2
votes
1 answer

Get iscsi mapped drive letter from iscsi initiator name

In PowerShell I'm trying to get the drive letter that an ISCSI target is mapped to. I'm using the following to get the ISCSI initiator name. Get-IscsiTarget | ? {$_.IsConnected -eq $True} | Select -ExpandProperty NodeAddress I have tried using…
Richard
  • 6,812
  • 5
  • 45
  • 60
2
votes
1 answer

SCSI persistent reservation in iSCSI

In iSCSI, the initiator port Id is defined as: iSCSI_Name,i,Initiator_Session_Id And target port id is defined as: iSCSI_Name,t,Target_Portal_Group_Tag After an initiator issues a "PR In - Reserve" SCSI command, the above info pertaining to an I_T…
Ahmed A
  • 3,362
  • 7
  • 39
  • 57
2
votes
0 answers

How to determine which Windows drives map to which SAN storage devices using WMI?

For a Windows machine, I'd like to programatically determine which of its drives are actually iSCSI or Fibre Channel (FC) volumes and what storage (SAN) device they are exposed from, i.e. where the data is actually stored. For example, the C:\ drive…
w128
  • 4,680
  • 7
  • 42
  • 65
2
votes
2 answers

Storing mapreduce intermediate output on a remote server

I use a hadoop (version 1.2.0) cluster of 16 nodes, one with a public IP (the master) and 15 connected through a private network (the slaves). Is it possible to use a remote server (in addition to these 16 nodes) for storing the output of the…
vefthym
  • 7,422
  • 6
  • 32
  • 58
2
votes
0 answers

ISCSI target mounted with different LUN number

On a centOS host, I am able to discover my ISCSI targets from my SAN with this command : iscsiadm -m discovery -t sendtargets -p IPOfMySan A login on a specified target from the result list of the previous command will be fine. But when I check…
Romeo
  • 29
  • 2
2
votes
1 answer

DriveInfo with iSCSI drives

I have been planning on writing some code that checks the free space on numerous disks attached to a server, which are mounted using iSCSI. It's been warned that "polling for free space on a dead mount causes a very long timeout". My question is…
user132311
  • 21
  • 1
2
votes
3 answers

iSCSI packets understanding and what each one does

I'm studying the iSCSI protocol and now im in the phase where i used Wireshark to capture the packets to see, which packets are used to mantain the sessions active, and when i copy a file to my logical volume, which packets are traded. Below is an…
John
  • 259
  • 8
  • 19
2
votes
2 answers

How do I programatically mount a raw iscsi volume in windows, and get it ready to use?

The API for creating a new volume on our SAN is pretty straight forward. What I have not been able to figure out is how to programatically connect the iSCSI initiator to it, initialize the space (in the windows disk manager sense) and finally…
Jason Mathison
  • 1,181
  • 1
  • 10
  • 18
1
vote
0 answers

What arguments needed to exec MSIscsiInitiator_TargetClass:Login?

I trying to connect to iSCSI target via WMI (class WMI\MSIscsiInitiator_TargetClass, which is distributed with Microsoft software initiator), but always get a generic failure (80041001). Here is my code: var mgmts =…
g1itch
  • 51
  • 5
1
vote
1 answer

Prevent application (iscsiadm) logging to dmesg?

I have an issue where running sudo iscsiadm -m discovery -t st -p IP -l logs to dmesg across all terminals on the server. The command is run from a java application, using: Runtime.getRuntime().exec("/bin/bash", "-c", "sudo iscsiadm -m discovery…
Kris Rice
  • 559
  • 1
  • 5
  • 23
1
vote
1 answer

what is SAM LUN format in iscsi protocol?

When I read the source code of SPDK, there are two forms of fmt_lun in the function spdk_scsi_lun_id_fmt_to_int. What do these two forms mean? and fmt_lun complies with the SAM LUN format,what is SAM LUN…
json zhou
  • 21
  • 1
1
vote
1 answer

Configure isciadm to fall back to another iscsi-portal if one is down

Let's say I have a 100G disk which i want to expose as an ISCSI-target and I have configured 2-ISCSI-portals(IP1, IP2) which can be used to access the ISCSI-target Note: I have used more than one portal for my High-Availability Use-cases Let's say,…
1
2
3
10 11