A logical volume migration method, at a time of a data migration from a first virtual area, to which an external page has been allocated, to a second virtual area in a data migration from a first virtual volume to a second virtual volume, the logical volume migration method comprising steps of:
- (a) by a first storage apparatus, notifying a second storage apparatus of a migration source address, which is an address of the first virtual area, and an external address, which is an address of an external page allocated to the first virtual area;
- and
- (b) by the second storage apparatus, storing a corresponding relationship between the notified migration source address and the notified external address,
- wherein:
- the first storage apparatus and the second storage apparatus share an external volume, which is a logical volume provided by an external storage apparatus,
- the first storage apparatus comprises an external capacity pool, which is a storage area based on the external volume and is partitioned into multiple external pages that are sub-storage areas, and a first virtual volume, which is a virtual logical volume comprising multiple first virtual areas, and in a case of a write to a virtual area that has not been allocated a page, is configured to allocate an unallocated external page from the external capacity pool to the virtual area,
- the second storage apparatus comprises a second virtual volume, which is a virtual logical volume comprising multiple second virtual areas;
- and
- wherein one of the first storage apparatus and the second storage apparatus:
- (c) receives a write request from a host;
- (d) in a case where a page has not been allocated to a write-destination virtual area, which is a virtual area that belongs to an address specified in the write request from the host, and an external page is to be allocated to the virtual area, determines whether or not the one of the first storage apparatus and the second storage apparatus has an authority for allocating an external page;
- (e) in a case where a result of the determination in (d) is affirmative, allocates an external page to the write-destination virtual area;
- and
- (f) in a case where a result of the determination in (d) is negative, sends an external page allocation request to the storage apparatus having the authority for allocating an external page.