if disk is too full, switch to read-only
if disk is too full, switch to read-only