210904-1156 EDT
chris:
Is the diode in series with the inductor? From your description I assume that is likely.
If a diode is in series with an inductor fed from a low impedance DC source, then after the circuit has been closed and current reaches a steady state value, then there is a voltage drop across the inductor. Suppose a series circuit consisting of a battery with its positive terminal pointing to the right, an electromechanical switch, a diode pointing to the right, and a inductor that loops back to the battery negative terminal.
After the switch is closed and current reaches steady state, then positive current flows from left to right thru a forward biased diode and inductor, and the voltage drop across the inductor is positive on the left and negative on the right.
You can not instantaneously change the current thru an inductor. So when the switch is opened the instantaneous voltage across the inductor reverses to keep current flowing in the same direction and magnitude (the inductor has now become a voltage source). This voltage as large as necessary to keep the current at it present value. Thus, a very large reverse voltage is applied to the diode and it likely fails.
To prevent this problem you place a snubber across ( in parallel ) the inductor. This can be an RC network or another diode. A shunt diode across the inductor produces the longest drop out time of current thru the inductor, and the lowest reverse voltage across the inductor.
.