Added if(defined..) to sub get_volume_space, becasue volume in
transferring mode for a syncing mirro, were causing errors