Koozali.org: home of the SME Server

File sizes

derek

File sizes
« on: September 30, 2001, 11:25:13 AM »
Having installed and configured e-smith 4.1 as a local server only I copied a numner of files from Win2K Pro to a shared directory. When I right-clicked (in Win2K) on a file to see its properties the info displayed was:

File Size: 80MB
File Size on disk 650MB

I am showing approximate values. Actual rspective numbers were slightly different. The point, however, is that the difference between reported File Size and File Size on disk were pretty shocking to me. I intended on using e-smith solely as a file server for my home network.

Does anybody know about the problem? Is it really a problem? Or perhaps Win2K somehow erred due to the difference in partition types between Win2K and Linux?

In case it matters, relevant specs of my system:
P150
64RAM - EDO
two WD HDDs  40GB each, ata100
note: the BIOS doesn't auto-recognize the discs but when set manually the system boots and reports proper disk sizes.

Any comments will be appreciated.

Marvin

Re: File sizes
« Reply #1 on: October 07, 2001, 08:57:48 PM »
It has to do with Windows not getting/using the correct information from Samba (the Windows file share for Linux). I don't think it's really taking up that much space on your e-smith box. If you want to check for sure, 'ssh' in to you box and go to /home/e-smith/files/ibays/[ibay name] (I am assuming its a file in an I-bay) and then type   du -h   to see how much space is really being used ('du' is disk usage, -h = Human readable formatting of results)

BTW, I believe ext2 (the filesystem) on that drive would have 1k clusters, but don't take my word for it.

Hope this helps.