Storage device and method of controlling storage device
AssigneeHitachi, Ltd.
InventorsNoriaki SATO, Masayuki KIKUCHI, Keisuke MATSUMOTO, Takashi CHIKUSA
Life of this patent
Estimating the term…
Abstract
It is an object of the present invention to suppress inconsistency of mount information necessary for mounting a volume in a storage device having a primary volume and a secondary volume. The storage device according to the present invention creates a memory region storing the mount information necessary for mounting the secondary volume, saves a snapshot thereof, and presents a virtual volume which has been created by using the snapshot and the data in the secondary volume to an external device.
Claims12
A storage device comprising:
- a storage unit that stores a primary volume storing data accessed by a first external device and a secondary volume storing data accessed by a second external device;
- and
- a controller that controls access to the primary volume and the secondary volume, wherein
- the controller copies the data stored in the primary volume, stores the copied data in the secondary volume, then creates a memory region storing first mount information necessary for the second external device to mount the second volume, associates a snapshot thereof with an identifier of the snapshot, and saves the snapshot and the identifier, when a request designating the identifier of the snapshot for access to the secondary volume is received from the second external device, the controller generates a virtual volume which can be mounted by the second external device, by using the snapshot corresponding to the designated identifier of the snapshot and using the data stored in the secondary volume, and
- the controller presents the generated virtual volume to the second external device as a reply to the request.
A method of controlling operation of a storage device comprising
- a storage unit that stores a primary volume storing data accessed by a first external device and a secondary volume storing data accessed by a second external device;
- and
- a controller that controls access to the primary volume and the secondary volume, the method including:
- a step of copying the data stored in the primary volume, storing the copied data in the secondary volume, then creating a memory region storing first mount information necessary for the second external device to mount the second volume, associating a snapshot thereof with an identifier of the snapshot, and saving the snapshot and the identifier;
- a step of receiving a request designating the identifier of the snapshot for access to the secondary volume from the second external device;
- a step of generating a virtual volume which can be mounted by the second external device, by using the snapshot corresponding to the designated identifier of the snapshot and using the data stored in the secondary volume;
- and
- a step of presenting the generated virtual volume to the second external device as a reply to the request.
Dependencies are inferred from the claim text.