File sharing system, file server, and method for managing files
First Claim
1. A file-sharing system comprising:
- a storage device that has one or more volumes; and
a file server that manages files stored in the volumes by using one or more file systems created for the volumes, a unified file system which virtually integrates the file systems, and snapshots of at least one of the file systems which are acquired at one or more time points,wherein the storage device and the file server are communicably coupled to each other, andwherein the file server comprises;
a memory that stores snapshot management information which includes mount paths of the snapshots, and represents the snapshots acquired at respective time points, and file storage location management information which includes file paths of the files, and represents storage locations of the files when the unified file system manages the files; and
a processor that executes a snapshot management information modification control for acquiring a snapshot for a file system having the snapshot when receiving a snapshot acquisition request including a mount path of the snapshot from a computer, and modifying the snapshot management information by using the acquired snapshot, a file rewrite control for copying the file storage location management information at a time point when the snapshot is acquired, and rewriting file paths of files included in the copied file storage location management information by using a mount path of the acquired snapshot, and a file access control for performing a file access to the file managed by the acquired snapshot when receiving a file access request from a computer to the rewritten file which is stored in a volume for which a file system not having a snapshot is created.
1 Assignment
0 Petitions
Accused Products
Abstract
In the HSM function, when supporting the file system snapshot function, a differential data volume is required for both a high-speed volume and a low-speed volume. Accordingly, when supporting the snapshot function by using a file system provided by the HSM function, a large amount of differential data volume is required. When the manager gives an instruction to acquire a snapshot, a snapshot management program executes snapshot acquisition processing to acquire a snapshot. In this processing, a snapshot reference relation building processing part copies a file storage location management table, and relates the file storage location management table to the acquired snapshot. Then, the snapshot reference relation building processing part checks a file that is migrated to a file system which does not have a differential data volume. Finally, the snapshot reference relation building processing part creates a link of the migrated file to the snapshot which is acquired previous time.
60 Citations
13 Claims
-
1. A file-sharing system comprising:
-
a storage device that has one or more volumes; and a file server that manages files stored in the volumes by using one or more file systems created for the volumes, a unified file system which virtually integrates the file systems, and snapshots of at least one of the file systems which are acquired at one or more time points, wherein the storage device and the file server are communicably coupled to each other, and wherein the file server comprises; a memory that stores snapshot management information which includes mount paths of the snapshots, and represents the snapshots acquired at respective time points, and file storage location management information which includes file paths of the files, and represents storage locations of the files when the unified file system manages the files; and a processor that executes a snapshot management information modification control for acquiring a snapshot for a file system having the snapshot when receiving a snapshot acquisition request including a mount path of the snapshot from a computer, and modifying the snapshot management information by using the acquired snapshot, a file rewrite control for copying the file storage location management information at a time point when the snapshot is acquired, and rewriting file paths of files included in the copied file storage location management information by using a mount path of the acquired snapshot, and a file access control for performing a file access to the file managed by the acquired snapshot when receiving a file access request from a computer to the rewritten file which is stored in a volume for which a file system not having a snapshot is created. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A file server, that is communicably coupled to a storage device which has one or more volumes, and that manages files stored in the volumes by using one or more file systems created for the volumes, a unified file system which virtually integrates the file systems, and snapshots of at least one of the file systems which are acquired at one or more time points, comprising:
-
a memory that stores snapshot management information which includes mount paths of the snapshots, and represents the snapshots acquired at respective time points, and file storage location management information which includes file paths of the files, and represents storage locations of the files when the unified file system manages the files; and a processor that executes a snapshot management information modification control for acquiring a snapshot for a file system having the snapshot when receiving a snapshot acquisition request including a mount path of the snapshot from a computer, and modifying the snapshot management information by using the acquired snapshot, a file rewrite control for copying the file storage location management information at a time point when the snapshot is acquired, and rewriting file paths of files included in the copied file storage location management information by using a mount path of the acquired snapshot, and a file access control for performing a file access to the file managed by the acquired snapshot when receiving a file access request from a computer to the rewritten file which is stored in a volume for which a file system not having a snapshot is created. - View Dependent Claims (7, 8, 9)
-
-
10. A method for managing files in a file-sharing system that has a storage device that has one or more volumes, and a file server that manages files stored in the volumes by using one or more file systems created for the volumes, a unified file system which virtually integrates the file systems, and snapshots of at least one of the file systems which are acquired at one or more time points,
wherein the storage device and the file server are communicably coupled to each other, the method comprising: -
by the file server, storing snapshot management information which includes mount paths of the snapshots, and represents the snapshots acquired at respective time points; by the file server, storing file storage location management information which includes file paths of the files, and represents storage locations of the files when the unified file system manages the files; acquiring a snapshot for a file system having the snapshot when receiving a snapshot acquisition request including a mount path of the snapshot from a computer, and modifying the snapshot management information by using the acquired snapshot; copying the file storage location management information at a time point when the snapshot is acquired, and rewriting file paths of files included in the copied file storage location management information by using a mount path of the acquired snapshot; and performing a file access to the file managed by the acquired snapshot when receiving a file access request from a computer to the rewritten file which is stored in a volume for which a file system not having a snapshot is created. - View Dependent Claims (11, 12, 13)
-
Specification