check for formatted disk before any operation