IT Professional Solutions » Admin Notes » How to shrink qcow file
Admin Notes / How to shrink qcow file

Before shirinking  it would be best if you defragmented the image first and then wiped the free space to make sure that files that you have deleted are completely removed. So you may use http://www.microsoft.com/technet/sysinternals/FileAndDisk/SDelete.mspx. After that use following commands

qemu-img convert -c -f qcow -O qcow

examples:
qemu-img -f qcow Virtual-srv01.qcow -c -O qcow Shrinked-Virtual-srv01.qcow

qemu-img convert BY-SRV02-HDD03.img -O qcow2 BY-SRV02-HDD03.qcow


Related articles:

  • How to convert vmware vmdk image to kvm.
  • How to convert Convert Physical Machines to Vmware?
  • How to shrink MSSQL log file
  • How to configure NAT on VMWare Server
  • how to mount /proc manually


  •    
    Add comments

    Include security image CAPCHA.
    update code



     
    «    September 2010    »
     
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
     
    © 2008 All Rights Reserved. IT Solutions Studio.