[Ocfs2-users] Zero allocated blocks for nonempty file
Sérgio Surkamp
sergio at gruposinternet.com.br
Fri Sep 2 05:42:46 PDT 2011
Hi.
I *suppose* its the inline-data feature, as it's permit the allocation
of small files and directories inside the inode itself.
From mkfs.ocfs2 man page:
inline-data
Enable inline-data support. If this
feature is turned on, OCFS2 will store small files
and directo- ries inside the inode block. Data is
transparently moved out to an extent when it no
longer fits inside the inode block. In some cases,
this can also make a positive impact on cold-cache
directory and file operations.
Regards,
Sérgio
Em Fri, 02 Sep 2011 12:36:08 +0200
Michal Vyoral <michal.vyoral at chmi.cz> escreveu:
> Hello,
> A question: some non empty files on ocfs2 appears to have zero
> allocated blocks, see
>
> $ stat SXCZ80
> File: `SXCZ80'
> Size: 3133 Blocks: 0 IO Block: 4096 regular
> file Device: fe01h/65025d Inode: 9484572 Links: 1
> Access: (0644/-rw-r--r--) Uid: ( 1001/ webms) Gid:
> ( 33/www-data) Access: 2011-08-31 11:38:23.272211360 +0000
> Modify: 2011-08-29 13:27:17.080403887 +0000
> Change: 2011-08-29 13:27:17.080403887 +0000
>
> How is it possible?
>
> Environment:
> OS: Debian 6.0.1
> Kernel: 2.6.38.5-custom-1
> Ocfs2-tools: 1.4.4-3
>
> Thanks.
> Michal Vyoral
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
--
.:''''':.
.:' ` Sérgio Surkamp | Gerente de Rede
:: ........ sergio at gruposinternet.com.br
`:. .:'
`:, ,.:' *Grupos Internet S.A.*
`: :' R. Lauro Linhares, 2123 Torre B - Sala 201
: : Trindade - Florianópolis - SC
:.'
:: +55 48 3234-4109
:
' http://www.gruposinternet.com.br
More information about the Ocfs2-users
mailing list