A volcano in western Indonesia has erupted eight times in just a few hours, "raining down rocks" over a large area and forcing thousands to flee their homes, officials said on Sunday.