[openib-general] srp initiator device discovery

vishal vishal at endace.com
Mon Dec 11 20:51:49 PST 2006


Hi,

   I have srp initiator installed with OFED-1.1, and another machine
with SRP target (IBGOLD). I started the srp daemon to discover the
target devices, and then ran fdisk -l to see the list. The list (below)
shows duplicate devices :-

Disk /dev/sdb: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1          13      104391   83  Linux
/dev/sdd2              14       60801   488279610   8e  Linux LVM

Disk /dev/sde: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/sdf: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdg: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1   *           1          13      104391   83  Linux
/dev/sdg2              14       60801   488279610   8e  Linux LVM



Doing some tests I found that sdb=sde, sdc=sdf, and sdd=sdg (obvious).

I also tested the device discovery after creating an md device on the
target side, and found that the initiator doesn't take into account the
presence of an md device. Is this the expected behaviour ?

Thanks for your time!

Vishal





More information about the general mailing list