You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When trying to copy from a larger pvc to a smaller pvc the migration fails with the following very generic error message
Migration failed with this strategy, will try with the remaining strategies
Error: migration failed: all strategies failed for this migration
❌ Error: migration failed: all strategies failed for this migration
Describe the solution you'd like
I would like pv-migrate to check the target and source size and don't even start the migration when there is less space in the target then the source. While I understand that comparing actual sizes could be difficult, it should at least be possible to compare the requested sizes and provide a flag --ignore-sizes if you know your data will fit because the pvcs are 100G and 50G each, but you know the actual size is just 10G.
Describe alternatives you've considered
It would be fine to display a more descriptive error after failing, maybe the one the underlying command (rsync) produced, instead of the generic one. This might be easier the implement, especially if you migrate e.g. 100G into a 99G pvc and find out that you dont't have enough space after copying for hours.
The text was updated successfully, but these errors were encountered:
I like the idea of checking sizes and failing explicitly unless having --ignore-sizes set.
I also like the idea of showing the actual rsync error message on a failed migration.
Is your feature request related to a problem? Please describe.
When trying to copy from a larger pvc to a smaller pvc the migration fails with the following very generic error message
Describe the solution you'd like
I would like pv-migrate to check the target and source size and don't even start the migration when there is less space in the target then the source. While I understand that comparing actual sizes could be difficult, it should at least be possible to compare the requested sizes and provide a flag
--ignore-sizes
if you know your data will fit because the pvcs are 100G and 50G each, but you know the actual size is just 10G.Describe alternatives you've considered
It would be fine to display a more descriptive error after failing, maybe the one the underlying command (rsync) produced, instead of the generic one. This might be easier the implement, especially if you migrate e.g. 100G into a 99G pvc and find out that you dont't have enough space after copying for hours.
The text was updated successfully, but these errors were encountered: