File server and file server controller
First Claim
1. A first file server used in a system where identical files are stored according to a predetermined redundancy in a distributed manner into a plurality of file servers connected with each other via a network, said first file server comprising:
- a decreased redundancy detection unit for detecting a decrease in the redundancy of a file stored in said system;
a determination unit for determining whether or not the first file server has responsibility for recovering the redundancy when said decreased redundancy detection unit has detected a decrease in the redundancy; and
a redundancy recovery processing unit for selecting, based on a predetermined condition, a second file server that does not store an identical file identical to said file having the decrease in redundancy, setting said selected second file server as a copy destination server, setting a third file server that does store the identical file as a copy source server, and copying the identical file from said copy source server to said copy destination server when said determination unit has determined the responsibility of the first file server,wherein said decreased redundancy detection unit detects a decrease in redundancy of the file based on information contained in a configuration table, andwherein said configuration table stores in corresponding relation information regarding a state of each file server used in the system including information of a location of each file server and status of each file server.
1 Assignment
0 Petitions
Accused Products
Abstract
The redundancy of a file is maintained without using a centralized controller in a system where file servers are connected via a network. Each domain ND within a file storage system includes a file server FS, a monitoring server WS, and a client CL, which are connected via a LAN. When the file server FS detects a failure in another file server FS in the system, it considers that redundancy of a file stored in the failed file server FS has decreased, and then determines whether or not it is responsible for recovering the redundancy. If the file server FS has determined that it is responsible for recovering the redundancy, it selects a file server FS as a file copy source and a file server FS as a file copy destination, and then copies the identical file from the copy source server to the copy destination server.
-
Citations
19 Claims
-
1. A first file server used in a system where identical files are stored according to a predetermined redundancy in a distributed manner into a plurality of file servers connected with each other via a network, said first file server comprising:
-
a decreased redundancy detection unit for detecting a decrease in the redundancy of a file stored in said system; a determination unit for determining whether or not the first file server has responsibility for recovering the redundancy when said decreased redundancy detection unit has detected a decrease in the redundancy; and a redundancy recovery processing unit for selecting, based on a predetermined condition, a second file server that does not store an identical file identical to said file having the decrease in redundancy, setting said selected second file server as a copy destination server, setting a third file server that does store the identical file as a copy source server, and copying the identical file from said copy source server to said copy destination server when said determination unit has determined the responsibility of the first file server, wherein said decreased redundancy detection unit detects a decrease in redundancy of the file based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each file server used in the system including information of a location of each file server and status of each file server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A file server controller for balancing usage statuses among storage devices, said file server controller being used in a system where files are stored in a distributed manner into a plurality of file servers connected with each other via a network, said storage devices being provided for said respective file servers, said file server controller comprising:
-
a usage status detection unit for detecting usage statuses of storage devices provided for said respective file servers; and a file migration control unit for selecting a file migration source server and a file migration destination server according to usage statuses of storage devices provided for said respective file servers and then migrating a file from said file migration source server to said file migration destination server, wherein said usage status detection unit detects a usage status of the storage devices based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each storage device used by the file servers including information of a storage capacity of the storage device and a location of the file server using the storage device. - View Dependent Claims (14)
-
-
15. A method of recovering redundancy of a file by means of a first file server used in a system where identical files are stored according to a predetermined redundancy in a distributed manner into a plurality of file servers connected with each other via a network, said method comprising steps of:
-
detecting a decrease in the redundancy of the file stored in said system; determining whether or not the first file server has responsibility for recovering redundancy when a decrease in redundancy of the file has been detected; selecting a second file server that does not store an identical file identical to said file having the decrease in redundancy, based on a predetermined condition; setting said selected second file server as a copy destination server; setting a third file server that stores the identical file as a copy source server; and copying the identical file from said copy source server to said copy destination server when the responsibility of the first file server has been determined, wherein said step of detecting a decrease in redundancy detects a decrease in redundancy of the file based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each file server used in the system including information of a location of each file server and status of each file server.
-
-
16. A method of balancing usage statuses among storage devices by means of a file server controller, said file server controller being used in a system where files are stored in a distributed manner into a plurality of file servers connected with each other via a network, said storage devices being provided for said respective file servers, said method comprising steps of:
-
detecting usage statuses of storage devices provided for said respective file servers; and selecting a file server as a file migration source and a file server as a file migration destination according to usage statuses of storage devices provided for said respective file servers and then migrating a file from said file migration source server to said file migration destination server based on the selection, wherein said step of detecting usage statuses of the storage devices detects a usage status of the storage devices based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each storage device used by said file servers including information of a storage capacity of the storage device and a location of the file server using the storage device.
-
-
17. A computer readable recording medium in which a computer program is recorded, the computer program recovering redundancy of a file by means of a first file server used in a system where identical files are stored according to a predetermined redundancy in a distributed manner into a plurality of file servers connected with each other via a network, said computer program causing said first file server to implement steps of:
-
detecting a decrease in redundancy of the file stored in said system; determining whether or not the first file server has responsibility for recovering redundancy when a decrease in the redundancy of the file has been detected; selecting a second file server, that does not store an identical file identical to said file having the decrease in redundancy, based on a predetermined condition; setting said selected second file server as a copy destination server; setting a third file server that does store the identical file as a copy source server; and copying the identical file from said copy source server to said copy destination server when the responsibility of the first file server has been determined, wherein said step of detecting a decrease in redundancy detects a decrease in redundancy of the file based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each file server used in the system including information of a location of each file server and status of each file server.
-
-
18. A computer readable recording medium in which a computer program is recorded, the computer program for balancing usage statuses among storage devices by means of a file server controller, said file server controller being used in a system where files are stored in a distributed manner into a plurality of file servers connected with each other via a network, said storage devices being provided for said respective file servers, said computer program causing a computer to implement steps of:
-
detecting usage statuses of storage devices provided for said respective file servers; and selecting a file server as a file migration source and a file server as a file migration destination according to usage statuses of storage devices provided for said respective file servers and then migrating a file from said file migration source server to said file migration destination server based on the selection, wherein said step of detecting usage statuses of the storage devices detects a usage status of the storage devices based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each storage device used by said file servers including information of a storage capacity of the storage device and 1 of the file server using the storage device.
-
-
19. A first server used in a system where identical data are stored according to a predetermined redundancy in a distributed manner into a plurality of servers connected with each other via a network, said first server comprising:
-
a decreased redundancy detection unit for detecting a decrease in redundancy of data stored in said system; a determination unit for determining whether or not the first server has responsibility for recovering redundancy when said decreased redundancy detection unit has detected a decrease in redundancy of data; a redundancy recovery processing unit for selecting a second server that does not store identical data based on a predetermined condition, setting said selected second server as a copy destination server, setting a third server that does store the identical data as a copy source server, and copying the identical data from said copy source server to said copy destination server when said determination unit has determined the responsibility of the first server, wherein said decreased redundancy detection unit detects a decrease in redundancy of the file based on information contained in a configuration table, and wherein said configuration table stores in corresponding relation information regarding a state of each file server used in the system including information of a location of each file server and status of each file server.
-
Specification