Abstract:
The embodiments of disclosure disclose a method and device for responding to a request, and a Distributed File System (DFS). The method comprises: receiving from a file access client a request for operating a target file, wherein the request carries a full path of the target file; determining a file identifier and a file location register identifier corresponding to the full path, wherein a file location register corresponding to the file location register identifier isg used for providing location information of a data block of the target file; sending the file identifier and the file location register identifier to the file access client. The embodiments of the disclosure solves the problem that a DFS has a high demand on a file location register hardware, lowers a demand on the file location register hardware, and improves a stability of the system.