But competent batting put Glamorgan in the box seat as they closed on 290 for four off 87.2 overs, with Adrian Dale undefeated on 50.
Michael Powell was top-scorer with 84, while Ian Thomas hit 56.
Glamorgan, having won the toss and elected to bat, set off at a fair rate during the first session of the day, with Thomas and Matthew Maynard (37) putting on 77 for the first wicket.
Maynard's exit did nothing to hinder Glamorgan's early progress. Thomas struck nine boundaries before succumbing to Kabir Ali after nicking one to Vikram Solanki at first slip.
That left the hosts on 112 for two after 35 overs, and the arrival of Michael Powell at the crease saw Glamorgan step on the gas and gradually put themselves in a commanding position.
David Hemp had moved solidly onto 33 when he was run out by Smith with the score on 175.
But Powell was in the groove and struck nine boundaries on his way to a half-century, having faced 77 balls to lift Glamorgan to 203 for three.
In tandem with Dale - they put on 92 for the fourth wicket - Powell lifted Glamorgan to 267 before he nicked one off Sheriyar behind to wicketkeeper David Pipe who safely held on to remove him 16 runs short of his century. Powell struck 10 fours and one six.
Dale picked up where Powell had left off, taking his time and patiently picking his shots to such effect that he closed unbeaten on 50 off 103 balls.
Bookmark or share this story with: