DUBLIN -- Alameda County Sheriff's deputies on Friday were investigating an officer-involved shooting that injured a man who reportedly charged a sheriff's deputy with a knife, a department spokesman said.

Officers received reports about 9:30 a.m. that a 28-year-old man was down in the front of a home in the 7500 block of Frederiksen Lane after being shot by a deputy, Alameda County Sheriff's Sergeant J.D. Nelson said.

Minutes earlier, the Alameda County Sheriff's deputy, who has not been identified, had responded to the home after the suspect's father told authorities that his son was acting bizarrely and needed help, Nelson said.

The caller, later identified as Blaine Cox, said his son, Ryan Cox, was punching holes in the wall and he would be waiting outside of the residence because he was afraid of his son, authorities said.

When the deputy arrived at the home, the son reportedly charged at him in the driveway of the home, clutching a hunting knife with an approximately 10-inch blade in his hand, Lt. Herb Walters said in a statement.

"Ryan (Cox) refused to listen to commands and continued toward the officer, who at that point feared that he would be attacked with the knife, and fired several rounds at Cox, striking him in the upper torso and arm," Walters said.

Ryan Cox was responsive and continued to yell as he was taken to a hospital by ambulance, Nelson said, and his injuries are not considered life-threatening.

Albert Ybarra, a father of two young daughters who lives across the street from the Cox family, said he was taking out the trash when he heard the loud argument, followed by three gunshots. Ybarra says that after the incident, he walked over to the home and hugged Blaine Cox, whom he said was visibly shaken by the events.

"It's a sad situation that our neighbor has to deal with," Ybarra said.

Nelson said sheriff's deputies had responded to the home three or four times in the past. He said the suspect is believed to be suffering from mental illness and had been suspected in the past of assault and making threats.

"There's some little stuff, but nothing that would lead us to believe that this was going to occur today," Nelson said. "We're doing our work at the house to find out why the guy would arm himself with a Rambo-style knife and attack a deputy. It doesn't make sense."

Ybarra said disputes involving Ryan Cox were a common occurrence that "everyone on the street is aware of."

He said Blaine Cox took in his son when he needed help.

"It's not like it was unexpected," Ybarra said. "We've all dealt with it."

Steve Hanke, superintendent of the Dublin Unified School District, released a statement Friday morning informing parents that the incident, which took place near Frederiksen Elementary School, posed no threat to students or school staff.

"There is no danger to students at any of our schools and there is no lockdown in place," Hanke said.

The 7500 block of Frederiksen was cordoned off with crime scene tape while police continued their investigation, Nelson said.

The deputy involved in the shooting, an eight-year veteran of the department, was not injured, Nelson said. He was placed on administrative leave per department policy.