METHOD AND SYSTEM FOR GENERATING A SPACE-EFFICIENT SNAPSHOT OR SNAPCLONE OF LOGICAL DISKS
First Claim
1. A method of a file system for generating a snapshot of at least one logical disk storing file-system data, comprising:
- quiescing the file system upon a receipt of a command to generate the snapshot of the at least one logical disk, wherein the snapshot is a copy of the at least one logical disk at a point in time;
determining a disk usage of the at least one logical disk at the point in time;
generating a sharing bitmap associated with the snapshot based on the disk usage, wherein the sharing bitmap is configured to indicate sharing of the file-system data with the at least one logical disk and a predecessor snapshot immediately preceding the snapshot; and
unquiescing the file system.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for generating a snapshot of one or more logical disks storing file-system data associated with a file system are disclosed. In one embodiment, the file system is quiesced upon a receipt of a command to generate the snapshot of the logical disks, where the snapshot is a copy of the logical disks at a point in time. Then, a disk usage of the logical disks at the point in time is determined. Further, a sharing bitmap associated with the snapshot is generated based on the disk usage, where the sharing bitmap is configured to indicate sharing of the file-system data with the logical disks and a predecessor snapshot immediately preceding the snapshot. Moreover, the file system is unquiesced.
-
Citations
15 Claims
-
1. A method of a file system for generating a snapshot of at least one logical disk storing file-system data, comprising:
-
quiescing the file system upon a receipt of a command to generate the snapshot of the at least one logical disk, wherein the snapshot is a copy of the at least one logical disk at a point in time; determining a disk usage of the at least one logical disk at the point in time; generating a sharing bitmap associated with the snapshot based on the disk usage, wherein the sharing bitmap is configured to indicate sharing of the file-system data with the at least one logical disk and a predecessor snapshot immediately preceding the snapshot; and unquiescing the file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A file server for generating a snapshot of at least one logical disk containing file-system data, comprising:
-
a processor; and a memory configured for storing a set of instructions for generating a snapshot of at least one logical disk containing file-system data, when executed by the processor, causes the processor to perform a method comprising; quiescing the file system upon a receipt of a command to generate the snapshot of the at least one logical disk, wherein the snapshot is a copy of the at least one logical disk at a point in time; determining a disk usage of the at least one logical disk at the point in time; generating a sharing bitmap associated with the snapshot based on the disk usage, wherein the sharing bitmap is configured to indicate sharing of the file-system data with the at least one logical disk and a predecessor snapshot immediately preceding the snapshot; and unquiescing the file system.
-
-
15. A computer readable medium for generating a snapshot of at least one logical disk containing file-system data associated with a file system having instructions that, when executed by the computer, cause the computer to perform a method comprising:
-
quiescing the file system upon a receipt of a command to generate the snapshot of the at least one logical disk, wherein the snapshot is a copy of the at least one logical disk at a point in time; determining a disk usage of the at least one logical disk at the point in time; generating a sharing bitmap associated with the snapshot based on the disk usage, wherein the sharing bitmap is configured to indicate sharing of the file-system data with the at least one logical disk and a predecessor snapshot immediately preceding the snapshot; and unquiescing the file system.
-
Specification