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

Re: [Xen-users] Clean deleted space in linux diks?



> In this case he is wanting zeros so that the SAN will make the storage sparse.

Correct.

> 
> If the disk is large, it may be a bit of a problem making a single 
> large file. The OP hasn't said which specific OS (32 vs 64 bit), or 
> filesystem, so I don't know what the max file size is (I vaguely 
> recall a 4G limit under some OS/filesystem combinations). 

Mostly 64 bit, but could have some 32 bit. ext3 or ext4. 

> He may have to do something like :
> 
> a=0 ; while [ $a -lt X ]
> do
>    dd if=/dev/zero of=null-file-$a bs=1024k count=1024
> done
> rm null-file*
> 

I will try this on a test box and see what happens. Any other ideas
please let me know. 

Thanks,
James


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


 


Rackspace

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