HALIFAX -- A storm bringing a messy mix of snow, rain and high winds closed schools in parts of the Maritimes and affected marine travel in the region.

Environment Canada said up to 25 centimetres of snow was expected Tuesday in Prince Edward Island and northern New Brunswick and freezing rain warnings were in effect for farther south.

About 20 centimetres of snow was forecast for Cape Breton.

The messy weather closed schools in the Fredericton and Moncton, N.B., areas and also caused scattered power outages across the province.

Schools in Nova Scotia's Cumberland and Colchester counties were also closed along with classes across P.E.I.

Blustery conditions on the Northumberland Strait cancelled all ferry crossings between Nova Scotia and P.E.I., and the early crossings in the Bay of Fundy between New Brunswick and Nova Scotia.

As much as 40 millimetres of rain was forecasted to fall along Nova Scotia's Atlantic coast.