[one-users] VM Failed during "Save-As" on a Running VM+CentOS 6.3 x86_64bit + KVM

Jaime Melis jmelis at opennebula.org
Thu Oct 11 03:14:50 PDT 2012


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 <junix88 at gmail.com> 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 | jmelis at opennebula.org



More information about the Users mailing list