摘要 |
A method and device for processing files of distributed file system are disclosed, in which the method involves dividing the file into at least one data group according to the size of the file, and determining first mapping information from the file to the at least one data group, in which each of the at least one data group includes content blocks and verification block of file, and determining second mapping information from each of the at least one data group to data storage servers storing the each of the at least one data group (102), and providing the first mapping information and the second mapping information to a client for executing a writing operation of files (103). The technical solution can improve availability of memory space and decrease costs of constructing a distributed file system. |