Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2009:pravin:journal:bkodebianiscsi [2009/08/12 04:22] less1 |
soc:2009:pravin:journal:bkodebianiscsi [2009/09/25 19:37] (current) less1 |
||
|---|---|---|---|
| Line 235: | Line 235: | ||
| Most of these errors are related to timing, and I believe that | Most of these errors are related to timing, and I believe that | ||
| these errors are there because of delays in accessing required data. | these errors are there because of delays in accessing required data. | ||
| + | |||
| + | ===== Target behaviour ===== | ||
| + | sometimes, you may get following error when logging in with iscsiadm | ||
| + | <code> | ||
| + | iscsiadm -m node --targetname "${targetname}" --portal "${ISCSIFS}" --login | ||
| + | records not found!. | ||
| + | </code> | ||
| + | this is because the ${ISCSIFS} is not IP but dnsname. | ||
| + | Dnsname may work with ''iscsiadm -m discovery -t st -p "${ISCSIFS}" '' | ||
| + | but it may verywell fail when same dnsname is given to login. | ||
| + | [[http://groups.google.com/group/open-iscsi/browse_thread/thread/c556508505ecc461|mailing list discussion]] | ||
| + | |||
| + | ==== Solution ==== | ||
| + | Dont use ''--portal "${ISCSIFS}"'' option, use | ||
| + | <code> | ||
| + | iscsiadm -m node --targetname "${targetname}" --login | ||
| + | </code> | ||