John P. Looney wrote:
> On Thu, Dec 05, 2002 at 06:13:46AM -0800, Satelle, StevenX mentioned:
>>>The header says it all really. I synced to directories from an ext3
>>partition to a win32 NTFS partition using samba. The directory size on Linux
>>is 3.6G and on windows the same directory is 3.4G and I'm fairly sure that
>>everything was copied. Looking at another file I see the same thing.
>>du -sh /home/apt-tar.gz
>>du -sh /mnt/lapt/sys/upload/home/apt-tar.gz
I'm unsure whether you're tolling or not, anyway
you must have lots of small files.
You can get the same operation from linux if you
have an ext3 filesystem with 2K blocks.
Of course there is no free lunch so this will
be slower in certain situations.
An interesting thing I noticed the other day
is that for ext with a 4K blocksize, if you
have a file of size 49,153 then there are nearly
2 full blocks wasted on disk. I.E. there are 8191
bytes (14.3%) wasted on disk. (This is because there
are only 12 direct data pointers in the inode).
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!