The particular rack is Cube Luggage Carrier Bosch
The particular bike is Cannondale Trail 6 with 27.5" wheel size.
Can the rack be attached to my bicycle in a right way?
Bicycles Stack Exchange is a question and answer site for people who build and repair bicycles, people who train cycling, or commute on bicycles. It only takes a minute to sign up.Sign up to join this community
Most racks are adjustable so that the rack can be fitted to a range of seat-stay lengths (more accurately, the distance between the eyelets the rack attaches to).
I think this rack designed for a 28-29" wheel may be made to fit as the forward support arms can tilt down but the rack may be positions a little high.
BTW, that rack is specifically for the Cube Bosch drive. The double-decker design is for holding a Bosch battery pack.