Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sanboot:ubuntu_iscsi2 [2011/01/13 14:36]
cinquero [Random Notes]
sanboot:ubuntu_iscsi2 [2011/01/19 04:26] (current)
tripg
Line 283: Line 283:
  
  --- cinquero  --- cinquero
 +
 +--- //Trip-G 2011/1/19//
 +    * Quinn -  Simply add another iscsistart to the file /​etc/​initramfs-tools/​scripts/​local-top/​iscsi
 +    * if your second target is on the same server all you need is the iqn
 +    * like this:
 +<​code>​
 +
 +MYEXTRANAME="​iqn.numbers.com.whatever:​name:​something.videostorage.mac"​
 +        iscsistart \
 +        -i `cat /​sys/​firmware/​ibft/​initiator/​initiator-name` \
 +        -t ${MYEXTRANAME} \
 +        -a `cat /​sys/​firmware/​ibft/​target0/​ip-addr` \
 +        -g 1
 +</​code>​
 +  ​
 +if you have relevant username password stuff you can add that too.  I added this after if [ -e /​sys/​firmware/​ibft/​target0/​target-name ]; then
 + and before "​else"​ but you should be able to tag it on the end if you want.
 +
 +--- Trip-G

QR Code
QR Code sanboot:ubuntu_iscsi2 (generated for current page)