We consider the Schrödinger operator L=−Δ+V on Rn, where the nonnegative potential V belongs to the reverse Hölder class Bq1 for some q1≥n2. Let q2=1 when q1≥n and 1q2=1−1q1+1n when n2<q1<n. Set δ′=min{1,2−nq1}. Let HLp(Rn) be the Hardy space related to the Schrödinger operator L for nn+δ′<p≤1. The commutator [b,R] is generated by a function b∈Λνθ, where Λνθ is a function space which is larger than the classical Companato space, and the Riesz transform R≐∇(−Δ+V)−12. We show that the commutator [b,R] is bounded from Lp(Rn) into Lq(Rn) for 1<p<q2′, where 1q=1p−νn and bounded from HLp(Rn) into Lq(Rn) for nn+ν<p≤1, where 1q=1p−νn. Moreover, we prove that the commutator [b,R] maps HLnn+ν(Rn) continuously into weak L1(Rn). At last, we give a characterization for the boundedness of the commutator [b,R] in an extreme case.