http://oss.oracle.com/~smushran/.debug/scripts/stat_sysdir.sh
Run this script against the device and save the output to a file. Then look at the inode_alloc:XXXX . There will be one for each slot. Bitmap Total: 18432 Used: 1114 Free: 17318 That's the number of inodes, used and free. Add these numbers for all slots to get the full picture. Guy wrote: > Hi Sunil, > > 2009/11/13 Sunil Mushran <sunil.mush...@oracle.com > <mailto:sunil.mush...@oracle.com>> > > OCFS2 has dynamic inode allocators. Meaning it does not allocate > space for inodes during > format but does so during runtime. However, once space has been > carved out for inodes, it > is not reclaimed back for data. So your bonnie++ run must have > created a lot of files. > That space will be reused when new files are created in the fs. > You can look at the system > directory using debugfs.ocfs2 to confirm my theory. > > > Can you tell me how I'd get that particular bit of information from > debugfs.ocfs2? I'm afraid I'm not very familiar with it and the man > page isn't enlightening me at this point. > > Is there also a way I could calculate roughly how much space will go > to this based on the number of existing files on the current mailstore? > > Thanks > Guy > > -- > Don't just do something...sit there! _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users