The first time I ran the script I specified the wrong disk name, and this step failed. However the script continued on (and failed later). Consider checking the exit code and exiting on failure.