27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

D–SRP Configuration<br />

OFED SRP Configuration<br />

4. Find the result that corresponds to the target you want, and echo it into the<br />

add_target file:<br />

echo<br />

"id_ext=21000001ff040bf6,ioc_guid=21000001ff040bf6,dgid=fe800<br />

0000000000021000001ff040bf6,pkey=ffff,service_id=f60b04ff0100<br />

0021,initiator_ext=0000000000000001" ><br />

/sys/class/infiniband_srp/srp-ipath0-1/add_target<br />

5. Look for the newly created devices in the /proc/partitions file. The file<br />

will look similar to this example (the partition names may vary):<br />

# cat /proc/partitions<br />

major minor #blocks name<br />

8 64 142325760 sde<br />

8 65 142319834 sde1<br />

8 80 71162880 sdf<br />

8 81 71159917 sdf1<br />

8 96 20480 sdg<br />

8 97 20479 sdg1<br />

6. Create a mount point (as root) where you will mount the SRP device. For<br />

example:<br />

mkdir /mnt/targetname<br />

mount /dev/sde1 /mnt/targetname<br />

NOTE:<br />

Use sde1 rather than sde. See the mount(8) man page for more<br />

information on creating mount points.<br />

D000046-005 B D-25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!