I use the mtda storage setup in COW (copy on write) mode. My storage configurations looks like this
[storage]
variant=usbf
device = /dev/disk/by-partlabel/device
cow = /dev/disk/by-partlabel/cow
If I do trigger a rollback action on the storage like this
set -e -x
mtda-cli target off
mtda-cli storage host
mtda-cli storage rollback || :
mtda-cli storage target
mtda-cli target on
I have to catch the error in line 4 of the script. I get the following error message
could not rollback changes made to shared storage!
But if I ignore this error and simply continue the process the rollback seems to be OK.
So somewhere there is a mismatch between the action and the return code.
I use the mtda storage setup in COW (copy on write) mode. My storage configurations looks like this
If I do trigger a rollback action on the storage like this
I have to catch the error in line 4 of the script. I get the following error message
But if I ignore this error and simply continue the process the rollback seems to be OK.
So somewhere there is a mismatch between the action and the return code.