qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] regarding qcow2metadata
@ 2012-03-07  7:11 PANKAJ RAWAT
  2012-03-07 16:30 ` Mulyadi Santosa
  0 siblings, 1 reply; 3+ messages in thread
From: PANKAJ RAWAT @ 2012-03-07  7:11 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

Hi all

*qemu-img create -f qcow2 -o preallocation=metadata  guest 8G*
The above command will alllocate all the 8GB to the diskimage.
means
*[root@t06 p]# ls -lh*
*total 1.4M*
*-rw-r--r-- 1 root root 8.1G Mar  7 12:43 guest*
*
*
is there is any way to allocate metadata to half size or predefined size ?
i.e 4GB will be allocated and rest 4GB can be allocated dynamically


-- 
*Pankaj Rawat*

[-- Attachment #2: Type: text/html, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] regarding qcow2metadata
  2012-03-07  7:11 [Qemu-devel] regarding qcow2metadata PANKAJ RAWAT
@ 2012-03-07 16:30 ` Mulyadi Santosa
  2012-03-12  3:32   ` PANKAJ RAWAT
  0 siblings, 1 reply; 3+ messages in thread
From: Mulyadi Santosa @ 2012-03-07 16:30 UTC (permalink / raw)
  To: PANKAJ RAWAT; +Cc: qemu-devel

Hi...

On Wed, Mar 7, 2012 at 14:11, PANKAJ RAWAT <pankajr141@gmail.com> wrote:
> [root@t06 p]# ls -lh
> total 1.4M
> -rw-r--r-- 1 root root 8.1G Mar  7 12:43 guest
>
> is there is any way to allocate metadata to half size or predefined size ?
> i.e 4GB will be allocated and rest 4GB can be allocated dynamically

have you double checked by using "ls -lsh" command? :)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] regarding qcow2metadata
  2012-03-07 16:30 ` Mulyadi Santosa
@ 2012-03-12  3:32   ` PANKAJ RAWAT
  0 siblings, 0 replies; 3+ messages in thread
From: PANKAJ RAWAT @ 2012-03-12  3:32 UTC (permalink / raw)
  To: Mulyadi Santosa; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

yes ofcourse
here is the output

*[root@t06 p]# ls -lsh*
*total 1.4M*
*1.4M -rw-r--r-- 1 root root 8.1G Mar 12 09:10 guest*


On Wed, Mar 7, 2012 at 10:00 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com>wrote:

> have you double checked by using "ls -lsh" command? :)
>



-- 
*Pankaj Rawat*

[-- Attachment #2: Type: text/html, Size: 813 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-12  3:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07  7:11 [Qemu-devel] regarding qcow2metadata PANKAJ RAWAT
2012-03-07 16:30 ` Mulyadi Santosa
2012-03-12  3:32   ` PANKAJ RAWAT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).