Several gunmen burst into a Shiite mosque in the Gulf Arab state of Oman and opened fire, killing six people and wounding nearly 30 more, authorities said Tuesday, stunning the peaceful sultanate and making it the deadliest attack there in recent memory.