ensure nodata and undetect are not modified during volume write