A positioning apparatus for a data storage device is provided to firmly
install the data storage device in a frame, to conveniently
assemble/disassemble the data storage device on/from the frame, to reduce
manufacturing costs and to reduce assembly steps. The positioning
apparatus for the data storage device comprises a first locking part and
a locking module. The first locking part connects with the data storage
device. The locking module comprises a body, a second locking part, and
an elastomer. When the data storage device is installed at the preset
location of the frame along the first direction, the elastomer of the
locking module installed along the second direction and outside of the
frame forces the second locking part to restrain the moving of the first
locking part along the first direction. The data storage device can be
disassembled from the frame by removing the restraint described above.