Jump to content

Question

Posted

Hello!  I've written a program that does checksums for my files on a stablebit drive pool.  It uses the NTFS id for the file as an identifier. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information?redirectedfrom=MSDN

I notice across scans that the ntfs id for the file is changed, even if no changes were made to the file (file was not replaced either).  Is this expected behavior?

My workaround is just to scan the drives directly rather than the pool.

1 answer to this question

Recommended Posts

  • 0
Posted

Hi arizzi, please see this thread: https://community.covecube.com/index.php?/topic/12577-beware-of-drivepool-corruption-data-leakage-file-deletion-performance-degradation-scenarios-windows-1011/

TLDR, DrivePool's implementation of FileID is persistent across neither reboots nor moves, and increments from zero on the former so collisions are inevitable.

Furthermore, for potential problems with checksums if read striping is not disabled on a duplicated pool see this thread: https://community.covecube.com/index.php?/topic/5414-pool-file-duplication-causing-file-corruption-under-certain-circumstances/

TLDR, to avoid potential checksum/data corruption you should disable Read Striping on any pool that uses duplication.

There is no ETA on a fix.

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...
×
×
  • Create New...