Due to the complex data grid environment with characteristics of uncertainty and instability, it is extremely important to provide an effective method of searching and managing the data storage resources in the data grid. This paper presents a new method for searching data storage resources with dynamic management in grid environment. The data grid middleware is designed with the auto-adapted software system structure to provide the data grid services for resource management and discovery. The data grid middleware software can be changed or re-constructed by the software itself again according to the network demand and the change of environment. It is suitable for the complex storage resources discovery and the dynamic management. It has a widespread application prospect in the grid environment.