Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8700217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:07:50+00:00 2026-06-13T02:07:50+00:00

The format qcow2 support copy-on-write.detail about qcow2 is here . Does libvirt suport clone

  • 0

The format qcow2 support copy-on-write.detail about qcow2 is here.
Does libvirt suport clone qcow2 VM Image with copy-on-write.
I find none options about:

virt-clone

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:07:51+00:00Added an answer on June 13, 2026 at 2:07 am

    virt-clone will clone your disk image to the same file format as the original.

    If your original disk is an LVM partition then you have to clone to a disk raw format image cause the lvm partition is a raw device

    eg:

    # virt-clone -d -o winxp -n winxpclone -f winxpclone.img
    
    # qemu-img info winxpclone.img 
    image: winxpclone.img
    file format: raw
    virtual size: 5.0G (5368709120 bytes)
    disk size: 3.1G
    

    You can convert the cloned disk image to qcow2:

    # qemu-img convert -f raw winxpclone.img -O qcow2 winxpclone.qcow2
    
    # qemu-img info !$ 
    qemu-img info winxpclone.qcow2 
    image: winxpclone.qcow2
    file format: qcow2
    virtual size: 5.0G (5368709120 bytes)
    disk size: 3.1G
    cluster_size: 65536
    

    If your VM has a qcow2 file format disk image then virt-clone will clone your disk image to a qcow2 file format

    # virt-clone -d -o winxpclone -n winxpcloneclone -f winxpcloneclone.img
    
    # qemu-img info winxpcloneclone.img 
    image: winxpcloneclone.img
    file format: qcow2
    virtual size: 5.0G (5368709120 bytes)
    disk size: 3.1G
    cluster_size: 65536
    

    to resume:

    virt-clone will keep the same file format to the cloned disk as the original.

    An good solution is to use virt-sparsify

    http://libguestfs.org/virt-sparsify.1.html

    to reduce the exported disk image size

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

?string.Format(CultureInfo.GetCultureInfo(en-US), {0:d}, now) 4/12/2010 ?string.Format(CultureInfo.GetCultureInfo(fr-FR), {0:d}, now) 12/04/2010 I want to write a method:
FLV format specification is here: http://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf 1) FLV body consists of tags 2) Each
Which format does this stirng 2010-06-19T06:28:01.077148400Z belong to? It represents 6/19/2010 11:58:01 AM. I
string.Format({Find Name='{0}'}, name) it throws Exception at runtime saying input string was in wrong
The format to view a status is: http://twitter.com/<screen_name>/status/<mention_id> Is there an alternate that does
which format has a event in a symbian calendar? i want to write a
string.Format() with it's bla {0} bla syntax is great. But sometimes I don't want
string format is always like this FirstName=ABC;LastName=XZY;Username=User1;Password=1234. I need the only UserName value (which
What Format should data be in when going into a utility app from a
The data format I got back from URL is in this format: #RES#[{status:Stopped \/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.