make disk formatting idempotent