Hi Lawrence,

could you run a few tests to see why this is failing?

Register a new image into the iSCSI datastore. Then get the source by doing:
$ oneimage show <ID>|grep SOURCE

With that SOURCE in place, run the following command in the iSCSI target server:
$ sudo tgtadm --lld iscsi --op show --mode target | grep "<SOURCE>"|
awk '{split($2,tmp,":"); print(tmp[1]);}'

Does it return an ID? If not, can you try to figure out why? that is,
is the image registered, is the tgtadm's output what we should expect
with "sudo tgtadm --lld iscsi --op show --mode target", has it created
the LV volume?

Cheers,
Jaime
On Thu, Oct 4, 2012 at 12:02 AM, Lawrence Chiong <[email protected]> wrote:
>
> sudo tgtadm --lld iscsi --op show --mode target |         grep 
> "iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-70-265" | awk 
> '{split($2,tmp,":"); print(tmp[1]);}'


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to