Hi All. Today I was copying a heap of files to an ocfs2 partition today for a website when I started experiencing strange problems (where file creations silently just wouldn't happen), then eventually 'no space left on device' errors. With >100gb free I was quite confused. One of the first google results for the issue (http://www.mail-archive.com/ocfs2-users at oss.oracle.com/msg03082.html) suggested that Nuno was able to get by the problem by deleting 275,000 files. As this poor old disk that has many files (perhaps as many as 5 million) I thought perhaps ive hit some sort of limit. I too am now on a deleting spree, removing nearly 500,000 I can go without. Shortly after I began the delete I've re-attempted copying the files, and now they succeeded. I've been looking around for any sort of limit on number of files (or number of inodes?) that ocfs2 can support, and have only found that "OCFS2 1.4 has no intrinsic limit on the total number of files and directories in the file system.." In the ocfs2 1.4 users guide. If there is no such limit can anyone suggest what might have happened to my file system today? I'd like to avoid it in the future. Andy.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090512/32b9e57d/attachment.html
Andy, Did you check your inode usage? -K --- Karl Katzke Systems Analyst II TAMU - DRGS>>> "Andrew (Anything)" <anything at starstrike.net> 5/11/2009 11:13 PM >>>Hi All. Today I was copying a heap of files to an ocfs2 partition today for a website when I started experiencing strange problems (where file creations silently just wouldn*t happen), then eventually *no space left on device* errors. With >100gb free I was quite confused. One of the first google results for the issue (http://www.mail-archive.com/ocfs2-users at oss.oracle.com/msg03082.html) suggested that Nuno was able to get by the problem by deleting 275,000 files. As this poor old disk that has many files (perhaps as many as 5 million) I thought perhaps ive hit some sort of limit. I too am now on a deleting spree, removing nearly 500,000 I can go without. Shortly after I began the delete I*ve re-attempted copying the files, and now they succeeded. I*ve been looking around for any sort of limit on number of files (or number of inodes?) that ocfs2 can support, and have only found that *OCFS2 1.4 has no intrinsic limit on the total number of files and directories in the file system*.* In the ocfs2 1.4 users guide. If there is no such limit can anyone suggest what might have happened to my file system today? I*d like to avoid it in the future. Andy.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090511/5db4ae73/attachment.html
Hey Karl. Cant believe ive never needed df -I before. Anyway, It now shows 22327336 free. The deletion of those many files is not even half way, and ive now copied the websites to the partition. But I doubt its freed up more than 22million inodes in the mean time. If I see the error again ill be sure to check. No other ideas why it may have happened? Andy.. From: Karl Katzke [mailto:kkatzke at tamu.edu] Sent: Tuesday, 12 May 2009 2:19 PM To: ocfs2-users at oss.oracle.com; Andrew (Anything) Subject: Re: [Ocfs2-users] Max number of files? Andy, Did you check your inode usage? -K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090512/079c1157/attachment.html
On Tue, 2009-05-12 at 14:13 +1000, Andrew (Anything) wrote:> Hi All. > > > > Today I was copying a heap of files to an ocfs2 partition today for a > website when I started experiencing strange problems (where file > creations silently just wouldn?t happen), then eventually ?no space > left on device? errors.ocfs2 1.4 has a maximum of 32000 files in any single directory - we got bitten by this bug recently. If you're talking about 5 million files, then is there's a possibility you've encountered this limit? Cheers, Gavin.