[Samba] wrong file size

Mac mac at nibsc.ac.uk
Mon May 17 10:47:17 GMT 2004

>  File: `priv.edb'
>  Size: 5393883136 Blocks: 8388728    IO Block: 4096   regular file
>Device: 308h/776d Inode: 9           Links: 1   =20
>Access: (0744/-rwxr--r--)  Uid: (10000/DOMAIN\!schedule)   Gid: =
>(10000/DOMAIN\Domain Users)
>Access: 2004-05-17 10:07:22.000000000 +0200
>Modify: 2004-05-14 23:30:27.000000000 +0200
>Change: 2004-05-15 00:35:53.000000000 +0200
>Size field shows the correct size, but blocks aren't

Have you checked the file's contents?

In many modern UNIX filesystems the file is only allocated blocks where
it needs them.  If there's a large chunk of the file that's empty then
the system doesn't bother using up disk blocks for it.

You need to do a check on the whole contents of the file.  I think
you'll find it's all there.

          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 641565          Everything else: +44 7956 237670 (anytime)

More information about the samba mailing list