Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pv progress more than 100% #19

Closed
driesmp opened this issue Nov 11, 2018 · 2 comments
Closed

pv progress more than 100% #19

driesmp opened this issue Nov 11, 2018 · 2 comments

Comments

@driesmp
Copy link

driesmp commented Nov 11, 2018

Hi,

The pv feature is nice! Altough it shows a progress bar thats more than 100% when complete?

image

@yboetz
Copy link
Owner

yboetz commented Nov 11, 2018

That has to do with the snapshot size reporting in ZFS. I use the command zfs send -nP ... to get the stream size. The reporting is very inaccurate though for small snapshot sizes. So if the snapshot is almost empty it shows something like 1-2KB, but the size might be a bit more or less. PV then calculates the progress according to that size it gets from ZFS. If that is inaccurate though then it will show more or less than 100%.

For sizes larger than a few MB it should be accurate though :).

@driesmp
Copy link
Author

driesmp commented Nov 11, 2018

Alrighty, thanks!

@driesmp driesmp closed this as completed Nov 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants