A warehouse or storehouse was a structure in which things were goods were stored.
In 2268, Montgomery Scott located food and other items in what he believed to be a storehouse for the Morgs. James T. Kirk disagreed, given the more sophisticated nature of the items, as compared to their seeming lack of intelligence. Later, Spock described the "Great Teacher" as a tape storehouse of accumulated knowledge. (TOS: "Spock's Brain")