Varghese Abraham
2004-Oct-20 13:23 UTC
[Ocfs-users] i-node showing 100 % used whereas the partitionsare empty
Hi Sunil, I had filed a bug and saw your response stating that it would be fixed in version 14. In the meanwhile , what we want to know is whether this bug is a minor bug and can be ignored for now. Does reporting 100% inodes cause any problem for the OCFS file system or can we ignore this bug and go into production. Also can you tell us by when version 14 would be released. R'gds Varghese Abraham. -----Original Message----- From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] Sent: Wednesday, October 13, 2004 5:54 PM To: Varghese Abraham Cc: ocfs-users@oss.oracle.com Subject: Re: [Ocfs-users] i-node showing 100 % used whereas the partitionsare empty File a bug on this. I think I know what the issue is. File a bug on oss so that I don't forget about it. diff -r1.165.2.97 ocfsmain.c 1000,1001c1000,1001 < buf->f_files = (unsigned long) (numbits); < buf->f_ffree = (unsigned long) (numbits) - freebits; ---> buf->f_files = numbits; > buf->f_ffree = freebits;On Wed, 2004-10-13 at 16:32, Varghese Abraham wrote:> Output df -i > ------------------ > Filesystem Inodes IUsed IFree IUse% Mounted on > / > /dev/sde 348548 348195 353 100% /ocfsa01 > /dev/sdf 348548 348195 353 100% /ocfsa02 > /dev/sdg 348548 348195 353 100% /ocfsa03 > /dev/sdk 139410 138073 1337 100% /ocfsq01 > > > > Output df -kP > ----------------------- > Filesystem 1024-blocks Used Available Capacity Mounted on > > /dev/sde 44614112 45152 44568960 1% /ocfsa01 > /dev/sdf 44614112 45152 44568960 1% /ocfsa02 > /dev/sdg 44614112 45152 44568960 1% /ocfsa03 > /dev/sdk 17844448 171104 17673344 1% /ocfsq01 > > > Is this expected behaviour from OCFS. ( Else how do I correct the same ? ) > Files were never put on these volumes yet. > > R'gds > Varghese Abraham > _______________________________________________ > Ocfs-users mailing list > Ocfs-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs-users
Sunil Mushran
2004-Oct-20 13:30 UTC
[Ocfs-users] i-node showing 100 % used whereas the partitionsare empty
Totally harmless... unless some user application uses that information in a critical way. And I cannot think of any. Mind you, the way inodes work on OCFS (v1) is very different from ext3. That is, there is no fixed space allocated for inodes. The space allocation is dynamic. So, really, the stat number has less meaning than it has on ext3. 1.0.14 will be released when needed. As in, either we fix a show stopper bug or we add a new feature. I'll post when either of the two occur. On Wed, 2004-10-20 at 11:22, Varghese Abraham wrote:> Hi Sunil, > I had filed a bug and saw your response stating that it would be fixed in version 14. > In the meanwhile , what we want to know is whether this bug is a minor bug and can be ignored for now. > > Does reporting 100% inodes cause any problem for the OCFS file system or can we ignore this bug and go into production. > > Also can you tell us by when version 14 would be released. > > > R'gds > Varghese Abraham. > -----Original Message----- > From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] > Sent: Wednesday, October 13, 2004 5:54 PM > To: Varghese Abraham > Cc: ocfs-users@oss.oracle.com > Subject: Re: [Ocfs-users] i-node showing 100 % used whereas the > partitionsare empty > > > File a bug on this. I think I know what the issue is. File a bug on oss > so that I don't forget about it. > > diff -r1.165.2.97 ocfsmain.c > 1000,1001c1000,1001 > < buf->f_files = (unsigned long) (numbits); > < buf->f_ffree = (unsigned long) (numbits) - freebits; > --- > > buf->f_files = numbits; > > buf->f_ffree = freebits; > > On Wed, 2004-10-13 at 16:32, Varghese Abraham wrote: > > Output df -i > > ------------------ > > Filesystem Inodes IUsed IFree IUse% Mounted on > > / > > /dev/sde 348548 348195 353 100% /ocfsa01 > > /dev/sdf 348548 348195 353 100% /ocfsa02 > > /dev/sdg 348548 348195 353 100% /ocfsa03 > > /dev/sdk 139410 138073 1337 100% /ocfsq01 > > > > > > > > Output df -kP > > ----------------------- > > Filesystem 1024-blocks Used Available Capacity Mounted on > > > > /dev/sde 44614112 45152 44568960 1% /ocfsa01 > > /dev/sdf 44614112 45152 44568960 1% /ocfsa02 > > /dev/sdg 44614112 45152 44568960 1% /ocfsa03 > > /dev/sdk 17844448 171104 17673344 1% /ocfsq01 > > > > > > Is this expected behaviour from OCFS. ( Else how do I correct the same ? ) > > Files were never put on these volumes yet. > > > > R'gds > > Varghese Abraham > > _______________________________________________ > > Ocfs-users mailing list > > Ocfs-users@oss.oracle.com > > http://oss.oracle.com/mailman/listinfo/ocfs-users > >