[one-users] It is not possible to clone a VM to another node

Евгений Суворов eesuvorov at gmail.com
Tue Apr 16 01:31:21 PDT 2013


oneadmin at debian1:/root$ onedatastore list
  ID NAME                      CLUSTER         IMAGES TYPE     TM
   0 system                    -                    0 -        ssh
   1 default                   -                    4 fs       shared
 100 Opt                       -                    2 fs       shared
 101 Win-FG                    -                    2 fs       shared
oneadmin at debian1:/root$

oneadmin at debian1:/root$ onedatastore list
  ID NAME                      CLUSTER         IMAGES TYPE     TM
   0 system                    -                    0 -        ssh
   1 default                   -                    4 fs       shared
 100 Opt                       -                    2 fs       shared
 101 Win-FG                    -                    2 fs       shared
oneadmin at debian1:/root$
oneadmin at debian1:/root$
oneadmin at debian1:/root$ onedatastore show 0
DATASTORE 0 INFORMATION
ID             : 0
NAME           : system
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : -
DS_MAD         : -
TM_MAD         : ssh
BASE PATH      : /var/lib/one/datastores/0

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
DS_MAD="-"
SYSTEM="YES"
TM_MAD="ssh"

IMAGES
oneadmin at debian1:/root$



2013/4/16 Alexandre Bezroutchko <abb at gremwell.com>

>  On 04/15/2013 10:01 PM, Евгений Суворов wrote:
>
>  Mon Apr 15 23:41:59 2013 [TM][E]: clone: Command "cd
> /var/lib/one/datastores/0/84; cp -r
> /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
> /var/lib/one/datastores/0/84/disk.0" failed: cp: cannot stat
> `/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb': No such file
> or directory
>
>  I think that problem in the SSH mode. He is not enabled. How  enabled it
> is?
>
> It is described here
> http://opennebula.org/documentation:rel3.8:system_ds#using_the_ssh_transfer_driver,
> but this was already discussed, I thought you have already followed these
> instructions. What is your current setup, could you provide the output of
>
>    - onedatastore list
>    - onedatastore show 0
>
> Regards,
> Alex
>
>
>
>  Permissions Ok.
>
>  If I run command
> *oneadmin at debian1:~$ scp debian1:/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
> debian:/var/lib/one//datastores/0/73/disk.0*
>  then nothing is happend.
>
>
> If I run command *without 'debian1'
> oneadmin at debian1:~$ scp
> /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
> debian:/var/lib/one//datastores/0/73/disk.0
> 601ff612f5ea1cc257de6913bd23a0cb              100%   40MB  10.0MB/s
> 00:04
> oneadmin at debian1:~$
> *then copy is done.
>
>
> 2013/4/13 Giovanni Toraldo <me at gionn.net>
>
>> Hi,
>>
>> On 04/13/2013 09:02 AM, Евгений Суворов wrote:
>> > Sat Apr 13 10:39:12 2013 [TM][E]: clone: Command "cd
>> > /var/lib/one/datastores/0/80; cp -r
>> > /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb
>> > /var/lib/one/datastores/0/80/disk.0" failed: cp: невозможно выполнить
>> > stat для <</var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb>>:
>> > Нет такого файла или каталога
>>
>>  it would be better to post error messages in English.
>>
>> Try starting opennebula with:
>>
>> LC_ALL=C one start
>>
>> However, the most common problem with shared drivers are improper
>> permissions set, check that source and destination file are actually
>> readable/writable by the oneadmin user.
>>
>> Cheers,
>> --
>> Giovanni Toraldo
>> http://gionn.net
>>  _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
>  --
> С уважением, Евгений.
>
> Тел: +79060665574
>        +79263906748
> ICQ: 380264507
>
>
> _______________________________________________
> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
С уважением, Евгений.

Тел: +79060665574
       +79263906748
ICQ: 380264507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130416/62dea1b5/attachment-0002.htm>


More information about the Users mailing list