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

[Xen-API] A question of Virtual Disk(VHD) size in thin provisioning NFS SR

  • To: Xen-api@xxxxxxxxxxxxx
  • From: ND KK <k110168@xxxxxxxxx>
  • Date: Tue, 22 Jan 2013 11:15:06 +0800
  • Delivery-date: Tue, 22 Jan 2013 03:15:23 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello all, 
I have a question. But my English is very poor, I hope you will understand

My VM has one virtual disk which allocated 100G 

I find the utilization of this disk in guest OS is 39.5G ( Get utilization on guest OS file system)

but  I ssh to the NFS server check the VHD files size
I use command: ls -lh  VHD_FILE_NAME ( Get utilization on NFS server file system)
It show that 
-rw-r--r-- 1 root root 19G Jan 22  2013 XXXXXXX.vhd

Then, I use command: du -sh VHD_FILE_NAME ( Get physical utilization on disk )
It show that 
5.5G  XXXXXXXX.vhd

My question is what happen in this process ( 100G -> 39.5G -> 19G -> 5.5G )

Are they representing  XenServer's thin provision, VHD's thin provision and File System sparse file ?

Does XenServer's thin provision equals VHD's thin provision? VHD's thin provision equals File System sparse file ?

If yes,  what happen in this process?


Best Regards,
Leo Hsu
Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.