r/Snapraid • u/mitchplze • 6d ago
Syncing more data than exists
EDIT: Solved in https://www.reddit.com/r/Snapraid/s/QeqzHUXBZY
I'm having an issue where every time Snapraid runs a Sync operation and one specific file is involved (has been changed), the sync seems to run for almost an hour, and transfer/check/process hundreds of GB of data.
The single file in question (a qcow disk image that was booted up and then immediately shutdown)... is only about 30 GB total size. Why does this keep happening? Is my Snapraid array broken?
My understanding is that the sync should be almost instant, if almost nothing changed. I confirmed its just this one single file with a snapraid diff first.
OMV version: 8.6.1-1 (Synchrony)
Plugin version: openmediavault-snapraid 8.0.3
2
u/Disciplined_20-04-15 6d ago
How many disks in your array? If there’s 6 disks snap raid has to read 30gb of data on 6 disks = 180GB total
1
u/capecodcarl 6d ago
If the QCOW2 disk image was created as a sparse file (dynamically grows as the logical drive gets filled with data) then I believe Snapraid will need to parse the entire logical file size every time the file is modified regardless of the actual size of the file being reported by the filesystem.
1
u/divestblank 6d ago
how much data do you have? what is the total read by snapraid after syncing?