I want to recommend a better storage upgrade path:
Instead of having to shut down the VPS, upgrade the storage, then startup the VPS, why not rather queue the commands, and add a schedule to it?
For example, I want to upgrade a client’s VPS from 20GB to 40GB, so I then instruct CloudMin to upgrade VPS1 to 40GB @ 23:00 on Sunday, or Tuesday, etc.
CloudMin then runs the schedules upgrade at the specified time as such:
confirm that there’s enough space left on the server before doing the upgrade. if the total HDD space is less then the new expected space, then exit the process and email the CloudMin owner / admin about it
elseif the HDD space is enough, continue to the following steps:
upgrade disk space
send admin email notification about successful space upgrade.