Re: [one-users] Clone images in datastore /w TM_MAD=qcow2

2015-02-23 Thread Dmitri Chebotarov
I forgot to add that I'm running ONE 4.8.0


--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404


 On Feb 23, 2015, at 14:52 , Dmitri Chebotarov dcheb...@gmu.edu wrote:
 
 Hi,
 
 I'm cloning image within a datastore /w TM_MAD=qcow2. 
 The cloning process is done using 'cp' command, but I thought it should be 
 done /w 'qemu-image clone' command. What I'm missing?
 
 # onedatastore show 142
 DATASTORE 142 INFORMATION
 ID : 142
 NAME   : [HOSTED] Data 1
 USER   : dchebota
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : IMAGE
 DS_MAD : fs
 TM_MAD : qcow2
 BASE PATH  : /var/lib/one/datastores/142
 DISK_TYPE  : FILE
 
 DATASTORE CAPACITY
 TOTAL: : 285G
 FREE:  : 118.6G
 USED:  : 227.8G
 LIMIT: : -
 
 PERMISSIONS
 OWNER  : um-
 GROUP  : u--
 OTHER  : ---
 
 DATASTORE TEMPLATE
 CLONE_TARGET=SYSTEM
 DISK_TYPE=FILE
 DS_MAD=fs
 INFO=Image DS for Hosted VMs
 LN_TARGET=NONE
 TM_MAD=qcow2
 TYPE=IMAGE_DS
 
 
 --
 Thank you,
 
 Dmitri Chebotarov
 VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  
 Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175 | Fax: (703) 993-3404
 
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Clone images in datastore /w TM_MAD=qcow2

2015-02-23 Thread Ruben S. Montero
Hi Dimitri,

We are moving the community to the new forum by the end of the week [1].
This last week things are getting even worse with the hosting company...
seems a good time to move on ;)

Anyway  there are two drivers DS and TM. QoW is used for TM when a
persistent image (or master/golden) is cloned to fire a new VM. The
original image is moved to used state and so it won't be deleted.

On the other hand, a DS clone operation creates a completely (read
independent from) the original image. Using QoW for this would be faster,
but we will need more logic to flatten the snapshots when the original is
deleted, and potentially we will end up with multiple snapshot layers that
will degrade performance.

Cheers

Ruben

[1] http://opennebula.org/new-opennebula-community-forum/

On Mon, Feb 23, 2015 at 9:17 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 I forgot to add that I'm running ONE 4.8.0


 --
 Thank you,

 Dmitri Chebotarov
 VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers 
 Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175 | Fax: (703) 993-3404


  On Feb 23, 2015, at 14:52 , Dmitri Chebotarov dcheb...@gmu.edu wrote:
 
  Hi,
 
  I'm cloning image within a datastore /w TM_MAD=qcow2.
  The cloning process is done using 'cp' command, but I thought it should
 be done /w 'qemu-image clone' command. What I'm missing?
 
  # onedatastore show 142
  DATASTORE 142 INFORMATION
  ID : 142
  NAME   : [HOSTED] Data 1
  USER   : dchebota
  GROUP  : oneadmin
  CLUSTER: -
  TYPE   : IMAGE
  DS_MAD : fs
  TM_MAD : qcow2
  BASE PATH  : /var/lib/one/datastores/142
  DISK_TYPE  : FILE
 
  DATASTORE CAPACITY
  TOTAL: : 285G
  FREE:  : 118.6G
  USED:  : 227.8G
  LIMIT: : -
 
  PERMISSIONS
  OWNER  : um-
  GROUP  : u--
  OTHER  : ---
 
  DATASTORE TEMPLATE
  CLONE_TARGET=SYSTEM
  DISK_TYPE=FILE
  DS_MAD=fs
  INFO=Image DS for Hosted VMs
  LN_TARGET=NONE
  TM_MAD=qcow2
  TYPE=IMAGE_DS
 
 
  --
  Thank you,
 
  Dmitri Chebotarov
  VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers 
 Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175 | Fax: (703) 993-3404
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Clone images in datastore /w TM_MAD=qcow2

2015-02-23 Thread Dmitri Chebotarov
Thank you.


... and I'll start using the forum.


--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404


 On Feb 23, 2015, at 16:47 , Ruben S. Montero rsmont...@opennebula.org wrote:
 
 Hi Dimitri,
 
 We are moving the community to the new forum by the end of the week [1]. This 
 last week things are getting even worse with the hosting company... seems a 
 good time to move on ;)
 
 Anyway  there are two drivers DS and TM. QoW is used for TM when a persistent 
 image (or master/golden) is cloned to fire a new VM. The original image is 
 moved to used state and so it won't be deleted.
 
 On the other hand, a DS clone operation creates a completely (read 
 independent from) the original image. Using QoW for this would be faster, but 
 we will need more logic to flatten the snapshots when the original is 
 deleted, and potentially we will end up with multiple snapshot layers that 
 will degrade performance.
 
 Cheers
 
 Ruben
 
 [1] http://opennebula.org/new-opennebula-community-forum/
 
 On Mon, Feb 23, 2015 at 9:17 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 I forgot to add that I'm running ONE 4.8.0
 
 
 --
 Thank you,
 
 Dmitri Chebotarov
 VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  
 Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175 | Fax: (703) 993-3404
 
 
  On Feb 23, 2015, at 14:52 , Dmitri Chebotarov dcheb...@gmu.edu wrote:
 
  Hi,
 
  I'm cloning image within a datastore /w TM_MAD=qcow2.
  The cloning process is done using 'cp' command, but I thought it should be 
  done /w 'qemu-image clone' command. What I'm missing?
 
  # onedatastore show 142
  DATASTORE 142 INFORMATION
  ID : 142
  NAME   : [HOSTED] Data 1
  USER   : dchebota
  GROUP  : oneadmin
  CLUSTER: -
  TYPE   : IMAGE
  DS_MAD : fs
  TM_MAD : qcow2
  BASE PATH  : /var/lib/one/datastores/142
  DISK_TYPE  : FILE
 
  DATASTORE CAPACITY
  TOTAL: : 285G
  FREE:  : 118.6G
  USED:  : 227.8G
  LIMIT: : -
 
  PERMISSIONS
  OWNER  : um-
  GROUP  : u--
  OTHER  : ---
 
  DATASTORE TEMPLATE
  CLONE_TARGET=SYSTEM
  DISK_TYPE=FILE
  DS_MAD=fs
  INFO=Image DS for Hosted VMs
  LN_TARGET=NONE
  TM_MAD=qcow2
  TYPE=IMAGE_DS
 
 
  --
  Thank you,
 
  Dmitri Chebotarov
  VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  
  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175 | Fax: (703) 993-3404
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 -- 
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org