Glamorgan 196 for 3 (Rees 84*, Goodwin 57*) trail Hampshire 341 (Dawson 72, Vince 80, Hogan 3-48, Cosker 3-82) by 145 runs
Gareth Rees scored 84 not out on his first appearance of the season as Glamorgan fought back on the second day of their LV= County Championship Division Two clash with Hampshire at Cardiff.
Out of favour all summer, left-handed opener Rees was only in the Glamorgan side because of an injury to Will Bragg.
But Rees and veteran Murray Goodwin put on an unbeaten 112 in 39 overs for the fourth wicket as Glamorgan finished the day on 196 for 3 in their first innings, 145 behind.
Hampshire's last five wickets could only add a further 67 runs before they were bowled out 10 minutes before the lunch interval.
Seamer Hogan broke through as early as the fourth over of the day to have Liam Dawson caught at slip by Jim Allenby, who then had Sohail Tanvir caught behind.
Adam Wheater and Danny Briggs stopped the rot to add 47 for the eighth wicket, but Wheater was caught at point trying to reverse sweep slow left-armer Cosker.
David Balcombe edged Mike Reed behind before Cosker wrapped up the innings to have James Tomlinson caught at slip by Allenby only 10 minutes before lunch.
In reply Glamorgan had reached 114 for 3 by tea with opener Rees reaching 50 from 110 balls with eight fours.
But he had to watch as he lost three partners in the afternoon session. Ben Wright was caught behind chasing a wide one from Tomlinson. And 24 for one became 35 for two when Stewart Walters went for a nine ball caught at slip by Sean Ervine off Tanvir.
Rees and Marcus North combined to put on 49 for the third wicket but North was stumped by Adam Wheater going down the pitch to the first ball of left-arm spin he had faced from Briggs.
From 84 for 3, Rees and Goodwin took their stand to 100 just before the close, and in the last over of the day Goodwin completed his half-century from 115 balls with seven fours.