On 2014/10/29, 11:17 AM, "DEGREMONT Aurelien" <aurelien.degremont(a)cea.fr>
wrote:
Le 29/10/2014 17:59, Dilger, Andreas a écrit :
> On 2014/10/29, 9:48 AM, "DEGREMONT Aurelien"
<aurelien.degremont(a)cea.fr>
> wrote:
>> I got a quite old now Lustre filesystem, formatted with Lustre 2.1 and
>> upgraded to 2.5.3 now.
>> It has an only one OI index file: oi.16
>> This file is very big
>> -rw-r--r-- 1 root root 82G Feb 10 2012 oi.16
>>
>> Filesystem has 90 M files currently.
>>
>> - I'm pretty sure this file should not be so big regarding the number
>> of inodes we got. Is there a way to fix this?
>> - Is there a way to upgrade the filesystem to several OI files like
>> Lustre is creating now for a recent Lustre version?
> Multiple OI files are created for new filesystems by default.
Yes, but is it possible to create them for an existing one?
> You can
> also cause OI Scrub to rebuild the OI file if the current OI file is
> corrupted or missing.
Does this very big oi file looks like a bad one?
Is I do this, this will recreate only one oi.16 or multiples files like
for a recently formatted FS ?
Sorry if my previous answer wasn't clear - if you rename the OI.16 file to
a backup, then it will create multiple OI.16.n files as is the default for
2.3+.
Cheers, Andreas
--
Andreas Dilger
Lustre Software Architect
Intel High Performance Data Division