Inserted rotate functionality for a spare volume. Refactored.