In the Bashkir mega-anticline (western Urals) stratabound magnesite, siderite, fluorite and base-metal deposits are hosted by a sequence of Riphean sediments with a thickness of more than 12 km. The giant deposits of siderite (Bakal) and sparry magnesite (Satka) belong to the largest known mineral deposits of this type on Earth but are still disputed with respect to their origin. Both the Fe- and Mg-carbonate ores are clearly characterized by mimetic preservation of sedimentary and diagenetic textures of the host carbonate sediments, giving evidence of epigenetic metasomatic replacement. In the stratiform magnesite deposits of Satka, O- and C-isotopes, REE pattern and the lithostratigraphic position of the ore, point to the reflux of early diagenetic Mg-rich brines being responsible for the selective replacement of brecciated dolomite. The Bakal siderite deposits are hosted by Lower Riphean carbonate rocks and are controlled by a Lower to Middle Riphean unconformity marked by deep erosion and subsequent transgression-related sedimentation of coarse clastics. Their independence of carbonate lithofacies and their trace element distribution are indicative of metasomatic processes. Fe-bearing fluids have probably been generated by low-grade metamorphic (catagenetic) devolatization from underlying argillites, causing the metasomatic formation of large siderite ore bodies in the Bakal carbonates due to the focusing of the fluid flow by the overlying Mid-Riphean coarse clastics.