Underpressure pump Mazda 6 Diesel 100kw

Hello everyone, I’m new here in the forum. A few days ago my Mazda (Bj ́03 100kw diesel ~118000km) came up with an unpleasant noise from the area of the sub-duck pump, it sounds like a grinding or stark nailing in the range of 2000-2500 rpm. The noise can be located very well therefore I would exclude valves or similar. The pump still seems to work because the brake power amplifier the AGR and the vacuum can still work on the turbo. h ever problems with the vacuum pump? Is the pump difficult to replace or do you have to pay attention to something special? Greeting Stefan