10 Posts
0
928
Inode generation number
Hi,
Whats the equivalent field as inode generation field in OneFS 8.1.
Is inode number never reused after file/dir deletion?
Thanks
10 Posts
0
928
Hi,
Whats the equivalent field as inode generation field in OneFS 8.1.
Is inode number never reused after file/dir deletion?
Thanks
Top
Peter_Sero
1.2K Posts
1
August 27th, 2021 09:00
Inode numbers are never re-used in OneFS, i.e. they basically keep increasing for new files. (I say basically because there are pre-pooled ranges of inode number across the cluster. So a new file can get a /lower/ inode number than an older file if the new file happens be created from a different inode 'pool'. But over time, numbers increase.)
What are you trying to do; how to you get involved with inode generation numbers?
-- Peter
SadhanaP
10 Posts
0
August 29th, 2021 22:00
Thanks for the clarification.
I wanted to identify file uniquely even after deletion. In case inode get reused(As other file systems) I may end up with two entries for same file.