File Size on Disk
Michels, Gustavo [EES/BR]
gustavo.michels at emersonenergy.com
Tue Sep 18 10:18:14 GMT 2001
Jeremy,
Ok, here is my setup:
- Red Hat Linux 7.1, kernel 2.4.3-12
- samba cvs source, SAMBA_2_2 tag
- compiled: --with-pam --with-quotas --with-winbind
- client: only tested with w2k sp1 clients
- ext2 filesystem. Here goes general info on this partition:
[root at splus001 source]# dumpe2fs -h /dev/sda6
dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Filesystem volume name: /emerson
Last mounted on: <not available>
Filesystem UUID: 4e524d52-ac23-11d5-9389-e597129b11fd
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: filetype sparse_super
Filesystem state: not clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 6078464
Block count: 12145132
Reserved block count: 607256
Free blocks: 11939852
Free inodes: 6076413
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16384
Inode blocks per group: 512
Last mount time: Tue Sep 18 13:39:08 2001
Last write time: Tue Sep 18 13:56:27 2001
Mount count: 5
Maximum mount count: 20
Last checked: Tue Sep 18 07:52:51 2001
Check interval: 15552000 (6 months)
Next check after: Sun Mar 17 07:52:51 2002
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Some time ago I posted a question (thread 'disk space in use by files') in
the main samba mail list with some examples of the problem. Here goes 2 of
them:
Several files:
Size: 48,3 MB (50.684.825 bytes)
Size on Disk: 152 MB (159.383.552 bytes)
Contains: 111 Files, 16 Folders
One small file:
Size: 378 bytes (378 bytes)
Size on Disk: 1,00 MB (1.048.576 bytes)
Anything else, just ask!
cheers
Gustavo
> -----Original Message-----
> From: jra at samba.org [mailto:jra at samba.org]
> Sent: terça-feira, 18 de setembro de 2001 13:52
> To: Michels, Gustavo [EES/BR]
> Cc: Greg J. Zartman, P.E.; Samba News
> Subject: Re: File Size on Disk
>
>
> On Tue, Sep 18, 2001 at 01:09:24PM +0100, Michels, Gustavo
> [EES/BR] wrote:
> > I had the same issue but it was just a display problem,
> actually the size on
> > disk is reported wrongly by samba. Yes, it is a little
> problem, but you can
> > live with that... :-)
>
> I can't (live with that, that is :-). Can you give me instructions on
> exactly how to reproduce this (compile options for Samba,
> platform, client etc.).
>
> I want to nail bugs like this.
>
> Cheers,
>
> Jeremy.
>
More information about the samba-ntdom
mailing list