clean ups to wipe_metadata 

Make the function simpler and faster. Throw a message if it fails to calculate disk size.