WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Converting AND shrinking domU

> Interesting...I'll have to try, again.  Maybe it changed mid-way
> through the SLES10 versions or something like that.

Hey Nick. I just did this on a stock sles11 system using ocfs2. My dd
command was slightly different than the one you wrote. Not sure how
sles's virt-manager creates the disk. 

# dd if=/dev/zero of=disk0.test bs=1 count=1 seek=100G
1+0 records in
1+0 records out
1 byte (1 B) copied, 6.0127e-05 s, 16.6 kB/s

# du -B1 -s disk0.test 
4096    disk0.test

# du -B1 -s --apparent-size disk0.test 
107374182401    disk0.test

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users