Cloning Logical Volumes
Hello there folks. I have a question.
I am looking for a better way of cloning logical volumes then creating a new logical volume, identical to a source logical volume, and using "dd" to copy data between the two logical volumes.
I would love to use dm-mirror to do this, but I do not think any interface has been provided to do this yet.
All suggestions and ideas appreciated.
I am running lvm2-2.02.04-r1 & 2.6.15 kernel.
Thanks!
dd is probably the best way right now.
in the future, the clone would probably take the form:
prompt> lvconvert -m1 vg/lv; (wait for sync); lvsplit vg/lv
The syntax isn't worked out yet and lvsplit is not there yet... but we have talked about doing something like that.
brassow
Quoted 9 lines · Greg Hartzog
Hello there folks. I have a question.
I am looking for a better way of cloning logical volumes then creating a new logical volume, identical to a source logical volume, and using “dd” to copy data between the two logical volumes.
I would love to use dm-mirror to do this, but I do not think any interface has been provided to do this yet.
All suggestions and ideas appreciated.
I am running lvm2-2.02.04-r1 & 2.6.15 kernel.
Quoted 8 lines
Thanks!
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
dd is probably the best way right now.
in the future, the clone would probably take the form:
prompt> lvconvert -m1 vg/lv; (wait for sync); lvsplit vg/lv
The syntax isn't worked out yet and lvsplit is not there yet... but we have talked about doing something like that.
brassow
On Apr 26, 2006, at 5:55 PM, Greg Hartzog wrote:
<excerpt><fontfamily><param>Arial</param><bigger><bigger>Hello there folks. I have a question.</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger>I am looking for a better way of cloning logical volumes then creating a new logical volume, identical to a source logical volume, and using “dd” to copy data between the two logical volumes.</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger>I would love to use dm-mirror to do this, but I do not think any interface has been provided to do this yet.</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger>All suggestions and ideas appreciated.</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger>I am running lvm2-2.02.04-r1 & 2.6.15 kernel.</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger>Thanks!</bigger></bigger></fontfamily>
<fontfamily><param>Arial</param><bigger><bigger> </bigger></bigger></fontfamily>
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/</excerpt>