handle out of space and quota exceeded