<div dir="ltr">Waiting for the improvement. <div><br></div><div>-Arup</div></div><div class="gmail_extra"><br clear="all"><div>Regards<br><br>Arup Raton Roy<br>Graduate Student<br>David R. Cheriton School of Computer Science <br>

University of Waterloo, Ontario, Canada<br></div>
<br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 9:02 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Mon, Mar 24, 2014 at 08:22:46AM -0400, Arup Raton Roy wrote:<br>
> Hi Richard,<br>
><br>
> Thanks a lot for your prompt response. I am enumerating the steps that I<br>
> followed during the provisioning, if it helps.<br>
<br>
</div>Thanks ...<br>
<div class=""><br>
> 1. These are the commands that I used to create the disk image.<br>
><br>
> qemu-img create -f qcow2 base_VM.qcow2 512M<br>
> kvm -m 512 -cdrom Core-current.iso -hda base_VM.qcow2 -boot d -net<br>
> nic,macaddr=00:00:00:00:cc:10 -net<br>
> tap,script=/etc/ovs-ifup0,downscript=/etc/ovs-ifdown0<br>
><br>
> 2. a) The output of qemu-img<br>
> qemu-img info base_VM.qcow2<br>
> image: images/base_VM.qcow2<br>
> file format: qcow2<br>
> virtual size: 512M (536870912 bytes)<br>
> disk size: 46M<br>
> cluster_size: 65536<br>
> 2. b)  virt-filesystems --all --long -h -a base_VM.qcow2<br>
> Name       Type        VFS   Label  MBR  Size  Parent<br>
> /dev/sda1  filesystem  ext4  -      -    512M  -<br>
> /dev/sda1  partition   -     -      83   512M  /dev/sda<br>
> /dev/sda   device      -     -      -    512M  -<br>
<br>
</div>In my previous analysis I didn't see that TCL actually installs itself<br>
to a persistent disk.  As shown above and in your trace, it's creating<br>
an ext4 partition on the persistent disk.<br>
<br>
I installed TCL to a disk to see what happens.<br>
<br>
$ guestfish --ro -a tcl.qcow2<br>
<div class="">Welcome to guestfish, the guest filesystem shell for<br>
editing virtual machine filesystems and disk images.<br>
<br>
Type: 'help' for help on commands<br>
      'man' to read the manual<br>
      'quit' to quit the shell<br>
<br>
><fs> run<br>
><fs> list-filesystems<br>
</div>/dev/sda1: ext4<br>
<div class="">><fs> mount /dev/sda1 /<br>
><fs> ll /<br>
</div>total 28<br>
drwxr-xr-x  4 root root  4096 Mar 24 12:56 .<br>
drwxr-xr-x 19 root root  4096 Mar 24 12:57 ..<br>
drwx------  2 root root 16384 Mar 24 12:56 lost+found<br>
drwxr-xr-x  4 1001 ftp   4096 Mar 24 12:56 tce<br>
<br>
><fs> ll /tce/<br>
total 20<br>
drwxr-xr-x 4 1001 ftp  4096 Mar 24 12:56 .<br>
drwxr-xr-x 4 root root 4096 Mar 24 12:56 ..<br>
drwxr-xr-x 3 1001 ftp  4096 Mar 24 12:56 boot<br>
-rw-r--r-- 1 root root    0 Mar 24 12:56 mydata.tgz<br>
-rw-r--r-- 1 1001 ftp   449 Mar 24 12:56 onboot.lst<br>
drwxr-xr-x 2 1001 ftp  4096 Mar 24 12:56 optional<br>
<br>
It's still using an initramfs, so it's unlikely we can make inspection<br>
show the real TCL filesystem.  But we should certainly be able to<br>
improve on current behaviour (ie fix RHBZ#1079734).<br>
<br>
Rich.<br>
<div class=""><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>virt-top is 'top' for virtual machines.  Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://people.redhat.com/~rjones/virt-top" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
</blockquote></div><br></div>