Around 10 million cubic metres of growing stock in Irish forests was affected, the first national assessment has found.