Unfortunately the host serving the nfs share is also showing 7.6GB so it really is 7.6GB.
When I scp it however, the file host.img is now 380GB! So I simply copy the file to another local drive and its 18GB. What's going on? I'm using Centos 5.2 which ships with Xen 3.0.3 (according to rpm -qa | grep xen). When I do open the backup copy done via cp onto a NFS mount where the file is 1/4 size, my domU opens but locks (after 7 minutes) up my entire dom0 host and a hard reset is needed. - Brian On Jan 15, 2009, at 3:48 PM, jd wrote: > It is showing less than 300 G because it is a sparse file. (all the > blocks are not allocated upfront.) > > The difference on the NFS server *may* be because of the BUG > mentioned in the man page. > > " On BSD systems, `du' reports sizes that are half the correct values > for files that are NFS-mounted from HP-UX systems. On HP-UX systems, > it reports sizes that are twice the correct values for files that are > NFS-mounted from BSD systems. This is due to a flaw in HP-UX; it also > affects the HP-UX `du' program." > > /Jd > > > > --- On Thu, 1/15/09, Brian Krusic <br...@krusic.com> wrote: > >> From: Brian Krusic <br...@krusic.com> >> Subject: [convirt-users] unexpected image sizes >> To: xenman-users@lists.sourceforge.net >> Date: Thursday, January 15, 2009, 3:05 PM >> Hi all, >> >> So I shutdown my domU to copy it to a backup location (yes, >> I am still >> trying to find a way to do a live backup/snapshot so if >> anyone has >> suggestions, I would love to hear). >> >> So, du -h /var/lib/xen/images/host.img >> >> ... shows 18G >> >> So I copy it to my NFS mounted backup machine and upon >> doing a du -h / >> nfs-share/backups/host.img >> >> ... show 7.6G. >> >> This domU is actually set to have 300G but I didn't >> allocate all of >> the disk space during domU creation. >> >> Any ideas? I would prefer some predictability here. >> >> Incidentally, from within the domU itself, I do a df -h and >> I get; >> >> /dev/mapper/VolGroup00-LogVol00 282G size, 5.2G used, 263G >> available >> /dev/xvda1 99M size, 21M used, 74M available >> tmpfs 2.0G size, 0 used, 2.0G available >> >> >> - Brian >> >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> XenMan-Users mailing list >> XenMan-Users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xenman-users > > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ XenMan-Users mailing list XenMan-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xenman-users