1833115 Members
2886 Online
110051 Solutions
New Discussion

Re: Too many inodes?

 
Nikos Katagas
Advisor

Too many inodes?

Hi all, i have 3 vg's, each with a single lvol. On just one of the 260GB-sized vg's i'm missing almost 17GB! This doesn't happen on the other vg's where everything seems normal.
The output of bdf -i on that mountpoint shows that the total number of inodes is huge (64786916) when compared to the number of inodes of the other lvols(1988864).

Any ideas would be greatly appreciated.
8 REPLIES 8
Devender Khatana
Honored Contributor

Re: Too many inodes?

Hi,

What do you mean by missing 17GBs. Generally it happens when you delete some large file which is in use by some application.

After doing so the space occupied by such files will not be released untill the application is termintaed.


You should not be in any lack of space due to access of inodes.

HTH,
Devender
Impossible itself mentions "I m possible"
Nikos Katagas
Advisor

Re: Too many inodes?

Hi, let me explain better. I'm sure that it's not a process that keeps a file locked. I even unmounted the mountpoint and remounted. The difference between actual lvol size and used space + free space is 17GB. I'm attaching an output of bdf -i of the mountpoint in order to make it easier to explain. Notice the insanely huge number of inodes.
Devender Khatana
Honored Contributor

Re: Too many inodes?

Hi,

Which 17 GB you are talking about. The file system has everything free and has only around 80K used and that is understood to be used by file system structures.

Is there any difference in LVOL size and file system size. If yes then somebody extended the LVOL after creating the file system and you can extend file system as well using extendfs.

Can you also attach
#lvdisplay -v /dev/vgoracle3/lvol01

your query is still unclear.

HTH,
Devender
Impossible itself mentions "I m possible"
Nikos Katagas
Advisor

Re: Too many inodes?

Hi, from the bdf i posted:
kbytes: 259,194,880
available kbytes: 242,920,218
used kbytes: 79,989

So 242,920,218 + 79,989 = 243,000,207. Where is the rest space?
Tiziano Contorno _
Valued Contributor

Re: Too many inodes?

Post a lvdisplay of both the LV you consider should be of the same size pls. Maybe they differ :)
Bill Hassell
Honored Contributor

Re: Too many inodes?

Was this lvol formatted as a VxFS filesystem of HFS? HFS must pre-create all the inodes when making the filesystem for the first time. Also, has this lcol been used in the past to store thousands of files that were later removed? Do you have the option to remove the files on this lvol and reformat the filesystem with newfs?


Bill Hassell, sysadmin
Nikos Katagas
Advisor

Re: Too many inodes?

The lvol was formatted with vxfs from the beginning. I have already destroyed and recreated the vg 3 times, changing the PE size.
What i've noticed is that there is a difference between the output of bdf and df -k, even though i've unmounted, vgexported and recreated the vg! Starting a restore on the mountpoint seems to have woken bdf since its starting to report much more sane sizes.
However, since this seems to be a rather complicated case, i've logged a call with HP.
Robert-Jan Goossens
Honored Contributor

Re: Too many inodes?

Hi Nikos,

when you create a filesystem you will lose some space for filesystem administration +/- 7%

242920218 - 18143641 (7%) = 241051238

Regards,
Robert-Jan