Probably just my ignorance here, but I thought that the Cossacks were from Kazakhstan, which used to be part of the USSR. Kazakhstan is full of moslems I believe.
Cossaks are 90% ethnic Ukrainian. Kazakhs=people who lives in Kazakhstan. Kazakhs are 99% Muslim and they are ethnically a mixture of Turks and Mongols.