[Ocfs2-users] Max files limit??

Nuno Fernandes npf-mlists at eurotux.com
Thu Sep 11 11:29:42 PDT 2008


Hi,


For what i've read in 
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#LIMITS
there is no file limit in an ocfs2 volume.

Nevertheless we've started to have problems and i think that we've that 
problem.

We have a 3 node cluster with 

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             9.9G  3.7G  5.8G  39% /
/dev/hda5             517G  398G  120G  77% /home/user

So.. we have free space.. next i've checked inodes:

[root at app22 ei]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda1            1310720   44886 1265834    4% /
/dev/hda5            135528448 104218671 31309777   77% /home/user

If i try to create a file:

[root at app22 user]# touch /home/user/npf
touch: cannot touch `/home/user/npf': No space left on device

But if i remove some files i can create new ones.. We can write to existing 
files but we can't create new ones.

I've read in 
http://www.mail-archive.com/ocfs2-users@oss.oracle.com/msg02160.html i would 
be able to create files in the other nodes (which mount the filesystem in 
read-only mode). I've remounted in read-write in those 2 nodes but the 
problem remains.. all nodes are unable to create new files.

The filesystem has a lot of small files (pictures, and so..).

Extra info:

OCFS2 Node Manager 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
9e5f332181e8ebfad464946bcc4888af)
OCFS2 DLM 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
e2556a71429f31033b275dff4b5594aa)
OCFS2 DLMFS 1.2.5 Tue Apr 10 12:29:33 EDT 2007 (build 
e2556a71429f31033b275dff4b5594aa)
OCFS2 User DLM kernel interface loaded
OCFS2 1.2.5 Tue Apr 10 12:29:28 EDT 2007 (build 
0f745576f5282c9408787369d99ba880)
ocfs2_dlm: Node 26 joins domain 2C223446F5A4437FAF61795ECE9CC8CA
ocfs2_dlm: Nodes in domain ("2C223446F5A4437FAF61795ECE9CC8CA"): 21 26
ocfs2_dlm: Node 25 joins domain 2C223446F5A4437FAF61795ECE9CC8CA
ocfs2_dlm: Nodes in domain ("2C223446F5A4437FAF61795ECE9CC8CA"): 21 25 26


Any ideas? Is there any max file limit in ocfs2?

Thanks,
Nuno Fernandes



More information about the Ocfs2-users mailing list