Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sanboot:ubuntu_iscsi2 [2010/10/14 12:27]
qiet72 Completed pcmcia support.
sanboot:ubuntu_iscsi2 [2011/01/19 04:26]
tripg
Line 279: Line 279:
  
  --- //Quinn Plattel 2010/​10/​14//​  --- //Quinn Plattel 2010/​10/​14//​
 +
 +    * This method disables iscsid. I have detected (probably the same) problem with it under Maverick (2.6.35 kernel), but not under Lucid (2.6.32 kernel). iscsid fails to reestablish the iscsi session and fails with response status code 0201. The problem is: I need iscsid to attach more iscsi shares... any idea how to solve that issue?
 +
 + --- 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)