This one, season seven:
http://www.gateworld.net/sg1/s7/707.shtml
Turns out it wasn’t about a granola mine so much as a Naquita (Nah-qua-dah) mine.
Same same anyway.
Season 7, Disc 2. Got it. Made me happy you did the legwork. She and I remember the episode well, indeed. 8>)