<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Muhammad,<br>
<br>
This should clear up things a bit (taken from Oracle ZFS Admin
guide):<br>
<br>
"A clone is a writable volume or file system whose initial contents
are the same as the dataset from which it was created. As with
snapshots, creating a clone is nearly instantaneous and initially
consumes no additional disk space. In addition, you can snapshot a
clone.<br>
<br>
Clones can only be created from a snapshot. When a snapshot is
cloned, an implicit dependency is created between the clone and
snapshot. Even though the clone is created somewhere else in the
dataset hierarchy, the original snapshot cannot be destroyed as long
as the clone exists."<br>
<br>
<a class="moz-txt-link-freetext" href="http://docs.oracle.com/cd/E18752_01/html/819-5461/gbcxz.html">http://docs.oracle.com/cd/E18752_01/html/819-5461/gbcxz.html</a><br>
<br>
Regards,<br>
Yannis<br>
<br>
<div class="moz-cite-prefix">On 12/07/2015 11:59 AM, Muhammad Yousuf
Khan wrote:<br>
</div>
<blockquote
cite="mid:CAGWVfMmJbw15Ydk75eWg9Xyxq-wMUuXy-nWJ+zrXMOLEwZYWew@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>i have been playing with Proxmgather for testing. i have
created a snapshot of a VM with ZFS command. i have also
cloned that snapshot successfully. original on disk size of a
zvol was. 28GB and snapshot size was few MBs.<br>
<br>
<br>
king-tank/local-vm/vm-101-disk-1 131G 893G
28.1G -<br>
king-tank/local-vm/vm-101-disk-1@data-1 20.4M - 28.1G<br>
<br>
</div>
<div>now i have create a clone of a snapshot. vm-110-disk-1<br>
<br>
king-tank/local-vm/vm-110-disk-1 8K 789G 28.1G
-<br>
<br>
</div>
<div>now my question is first when i ran the clone command it
just clone the snapshot in few seconds. <br>
</div>
<div>how ever i was expecting the whole VM data should be cloned
which was which is 28GB and that process should have taken
some time. <br>
<br>
</div>
<div>doest that mean clone just means making a copy of the
snapshot (20MB) and not the whole machine (actual 28GB) data
it self?<br>
<br>
</div>
<div>if i want to use this clone and add it to the proxmox api
for further use. then how could i do it?<br>
<br>
</div>
<div>your help will be highly appreciated <br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<div>Yousuf<br>
</div>
<div> <br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pve-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
<br>
</body>
</html>