Migrating a traditional volume to a virtual volume in a storage system
AssigneeNetwork Appliance, Inc.
InventorsSriram Rao, John Edwards, Douglas P. Doucette, Cheryl Thompson
Life of this patent
Estimating the term…
Abstract
A file system migrates a traditional volume to a virtual volume without data copying. In an embodiment, a traditional volume index node is selected for migration. The traditional volume index node is converted to a virtual volume index node. In one embodiment, the virtual volume index node provides both physical address information and virtual address information.
Claims17
A method for migrating a traditional volume to a virtual volume without data copying, the method comprising:
- selecting a traditional volume index node;
- and
- converting a structure of the traditional volume index node to a dual address structure of a virtual volume index node, wherein the virtual volume index node includes physical address information and virtual address information, wherein converting the structure of the traditional volume index node to the dual address structure of the virtual volume index node comprises:
- determining one or more physical addresses for a corresponding one or more data blocks based, at least in part, on a traditional volume buffer tree of the traditional volume index node;
- generating, at least in part, a dual address buffer tree having the virtual volume index node;
- copying the one or more physical addresses for the corresponding one or more data blocks to the dual address buffer tree;
- and
- allocating a virtual address for each of the one or more physical addresses, wherein each virtual address specifies a virtual volume block corresponding to one of the one or more physical addresses.
A system comprising:
- a file system to maintain a hierarchical structure of data stored in an array of physical storage devices and to service read and write requests from one or more clients relating to data stored in the array of physical storage devices;
- a traditional volume having one or more traditional volume index nodes, wherein each traditional volume index node is to provide physical address information relating to data stored in the array of physical storage devices;
- and
- a migration module to migrate the traditional volume to a virtual volume, wherein the virtual volume is to include one or more virtual volume index nodes to provide both physical address information and virtual address information relating to data stored in the array of physical storage devices, wherein the migration module comprises logic to:
- select a traditional volume index node:
- and
- convert a structure of the traditional volume index node to a dual address structure of a virtual volume index node, wherein the virtual volume index node includes physical address information and virtual address information, wherein the logic to convert the structure of the traditional volume index node to the dual address structure of the virtual volume index node comprises logic to:
- determine one or more physical addresses for a corresponding one or more data blocks based, at least in part, on a traditional volume buffer tree of the traditional volume index node;
- generate, at least in part, a dual address buffer tree having the virtual volume index node;
- copy the one or more physical addresses for the coffesponding one or more data blocks to the dual address buffer tree;
- and
- allocate a virtual address for each of the one or more physical addresses, wherein each virtual address specifies a virtual volume block coffesponding to one of the one or more physical addresses.
An article of manufacture comprising:
- an machine-readable storage medium storing instructions that, when executed by an apparatus, cause the apparatus to
- select a traditional volume index node;
- and
- convert a structure of the traditional volume index node to a dual address structure of a virtual volume index node, wherein the virtual volume index node includes physical address information and virtual address information, wherein the instructions that, when executed by the apparatus, cause the apparatus to convert the structure of the traditional volume index node to the dual address structure of the virtual volume index node cause the apparatus to:
- determine one or more physical addresses for a corresponding one or more data blocks based, at least in part, on a traditional volume buffer tree of the traditional volume index node;
- generate, at least in part, a dual address buffer tree having the virtual volume index node;
- copy the one or more physical addresses for the corresponding one or more data blocks to the dual address buffer tree;
- and
- allocate a virtual address for each of the one or more physical addresses, wherein each virtual address specifies a virtual volume block coffesponding to one of the one or more physical addresses.
A method for migrating a traditional volume to a virtual volume without data copying, the method comprising:
- selecting a traditional volume index node;
- and
- converting the traditional volume index node to a virtual volume index node, wherein the virtual volume index node includes physical address information and virtual address information, wherein converting the traditional volume index node to the virtual volume index node comprises:
- determining one or more physical addresses for a coffesponding one or more data blocks based, at least in part, on a traditional volume buffer tree of the traditional volume index node;
- generating, at least in part, a dual address buffer tree having the virtual volume index node;
- copying the one or more physical addresses for the corresponding one or more data blocks to the dual address buffer tree;
- and
- allocating a virtual address for each of the one or more physical addresses, wherein each virtual address specifies a virtual volume block coffesponding to one of the one or more physical addresses.
Dependencies are inferred from the claim text.