Our article focuses on a novel mechanism designed for a linear motion drive, suitable for 250 mm of travel length and compatible with ultrahigh vacuum. As a case study, this mechanism is employed for constructing a simple sample transfer system that allows to store and transfer the samples under high vacuum condition without active pumping system.