[linux-lvm] copy lv from lv?

yue ooolinux at 163.com
Wed Mar 30 13:49:21 UTC 2011


1..how to pipe two copy  together
2.i take lv as xen-guestOS's  disk. usually many  guestOS created from one lv(called template), maybe many data is readonly, so  if  so many lvs share readonly part ,and have its private data? COW save disk space, and take less time.
 
i do not think snapshot is sutable for this case.
 
thanks




At 2011-03-30 01:48:14,"Ray Morris" <support at bettercgi.com> wrote:

>> if lvm do not support lv copy? it is better copy on write.
>> dd takes long time.
>
>For a complete copy the only thing faster than "dd" is two 
>copies of "dd" piped together. dd is basically limited by
>the speed of the physical disks, assuming proper arguments 
>to dd.  For a copy on write, that's called a snapshot. LVM 
>COULD beused to copy, by making and splitting a mirror, but 
>that's going to be a lot slower than dd. (Though a mirror and
>split can be used on a live filesystem, wth it unmounted only 
>for an instant during the split).
>-- 
>Ray Morris
>support at bettercgi.com
>
>Strongbox - The next generation in site security:
>http://www.bettercgi.com/strongbox/
>
>Throttlebox - Intelligent Bandwidth Control
>http://www.bettercgi.com/throttlebox/
>
>Strongbox / Throttlebox affiliate program:
>http://www.bettercgi.com/affiliates/user/register.php
>
>
>
>
>On Tue, 29 Mar 2011 20:53:37 +0800 (CST)
>yue <ooolinux at 163.com> wrote:
>
>> if lvm do not support lv copy? it is better copy on write.
>> dd takes long time.
>>  
>> thanks
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm at redhat.com
>https://www.redhat.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20110330/fc78aa60/attachment.htm>


More information about the linux-lvm mailing list