Re: Is the default of "format" raw? (virt-install)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2014 at 11:39:25PM -0500, Peng Yu wrote:
> Hi,
> 
> `man virt-install` says the following. But it is not clear to me what
> format is used if it is not specified explicitly. Does anybody know?
> Should this be documented?
> 
> Also, how to check what the format is of an image file? Thanks.

I would recommend using qemu-img info:

image: /dev/vg_guests/f21rawhidex64
file format: raw
virtual size: 50G (53687091200 bytes)
disk size: 0

There is an option to set the output to JSON if you need to process
this in another program.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux