STORY: The identity of the attacker and the motive for the shooting in Izhevsk, about 970 km (600 miles) east of Moscow, were not clear.
Russia's Investigative Committee, which handles major crimes, said the gunman was wearing a balaclava. It released a short video showing his body lying on the floor of a classroom with overturned furniture and papers strewn on the floor. He was dressed all in black, with a red swastika in a circle drawn on his t-shirt.
The committee said the six adult victims included teachers and security guards. It said 21 people, including 14 children, were wounded.
Tass news agency quoted investigators as saying the attacker was armed with two pistols and a large supply of ammunition.