(Reuters) - International Business Machines Corp has agreed to buy privately held Texas Memory Systems, a high-end enterprise storage technology provider, to expand its own storage offerings, IBM said on Thursday.