CASTRO VALLEY -- A broken water main flooded several homes Friday and created a sinkhole that partially swallowed a fire truck, authorities said.

The East Bay Municipal Utilities District water main broke shortly before 7 p.m. in the vicinity of Seven Hills Road and Santa Maria Avenue, sending rivers of water past front yards and into homes as neighbors scrambled to save their possessions.

An Alameda County Fire Department truck dispatched to help dig trenches to channel the waters away became a casualty when the street beneath it collapsed, swallowing one wheel of the 40,000-pound vehicle in a 10-by-15-foot sinkhole that continued to foil salvage attempts late Friday, the California Highway Patrol said.

East Bay MUD workers were able to shut off the water about 9:40 p.m., spokeswoman Andrea Pook said, but several homes on Santa Maria Avenue had been flooded. KTVU-2 reported some neighbors saying they had received as much as 3 feet of water.

Heavy towing equipment has been summoned to the scene, according to the CHP's traffic incident information website.

Seven Hills Road and Santa Maria Avenue were expected to remain closed into the morning while crews continue work to repair the broken pipe and control further damage. It was not immediately known what caused the pipe to fail, although cold temperatures may have played a role.

Pook said it is not yet clear how many houses have lost water service.

Check back for updates.

Bay City News Service contributed to this story.