Red Hat Bugzilla – Bug 1284197
pvmove: "No data to move for ..." gives non-zero exit code
Last modified: 2015-11-23 05:21:52 EST
Description of problem:
I am using such a command during LVM partition shrinking procedure.
pvmove --allocate anywhere /dev/X
It gives "No data to move for ..." and returns non-zero code to shell. But the outcome is perfectly correct so that procedure can go forward. This should be fixed for successful scripting.
Version-Release number of selected component (if applicable):
I believe this is duplicate of bug 1181121. Could you elaborate your use case a bit or do you agree that the proposed solution in bug 1181121, comment 4 will work for you as well?
Really a duplicate. So I am not alone surprised. Feel free to close this ticket.
*** This bug has been marked as a duplicate of bug 1181121 ***