Added some guards around creating logical volumes and formatting it