[lustre-discuss] How to find directory by inode

Alex Vodeyko alex.vodeyko at gmail.com
Thu Mar 21 07:42:15 PDT 2024


Hi,

we have a lot of messages (almost every 1-2 seconds) in the lustre
(2.12) mds system log which probably means that some directory has a
lot (millions) of files. There is the inode number in these logs - see
below.

Could you please advise how to correlate this inode number with the directory?

Mar 21 14:28:29 kernel: LDISKFS-fs warning (device md65):
ldiskfs_dx_add_entry:2618: inode 1326335773: comm mdt02_025: index 2:
reach max htree level 2
Mar 21 14:28:29 kernel: LDISKFS-fs warning (device md65):
ldiskfs_dx_add_entry:2622: Large directory feature is not enabled on
this filesystem
Mar 21 14:28:29 kernel: IEC: 026001004: LDISKFS WARNING: { "device":
"md65", "warn_msg": "ldiskfs_dx_add_entry:2618: inode 1326335773: comm
mdt02_025: index 2: reach max htree level 2" }
Mar 21 14:28:29 kernel: IEC: 026001004: LDISKFS WARNING: { "device":
"md65", "warn_msg": "ldiskfs_dx_add_entry:2622: Large directory
feature is not enabled on this filesystem" }

Many thanks,
Alex


More information about the lustre-discuss mailing list