There are 3 places where we need to add checks:
1. create_volume
2. copy_image_to_volume
3. _clone_image
In all other cases, if the filesystem is not mounted or gpfs is not running there will be an error when executing mmclone command, or the full path to the volume or snapshot is known, and will not be vaild.
I'll add a check in the 3 cases above to log an error and abort the operation if gpfs path is unavailable.
There are 3 places where we need to add checks: to_volume
1. create_volume
2. copy_image_
3. _clone_image
In all other cases, if the filesystem is not mounted or gpfs is not running there will be an error when executing mmclone command, or the full path to the volume or snapshot is known, and will not be vaild.
I'll add a check in the 3 cases above to log an error and abort the operation if gpfs path is unavailable.