Seems that setting max storage to zero could be a workaround:
But then, would the node still accept to store new blocks?