Jump to content
  • 0

When do file ids/inodes change for files in a pool?


Pafegori
 Share

Question

Hi, I am using a software which identifies files by it's unique file id/inode. I have been recording file id changes of files in my pool over the last year and noticed that the file id changes every few weeks or so (around 20 times duing the last year) for files which I didn't (manually) copy/move. I could imagine that a balancing move changes it, but that shouldn't happen that often in my setup.

Could you shed some light on how these files ids are created in the first place and what's the reason for changes. Thank you!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I am using some self-written Python scripts with `os.stat` which on Windows uses `GetFileInformationByHandle` to get `nFileIndexHigh` and `nFileIndexLow`.

How does drivepool create these values? If it passes through the original values, which ones takes priority if there are more than 1 copy?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...