EasyManua.ls Logo

AWS Storage Gateway - Page 168

AWS Storage Gateway
438 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AWS Storage Gateway User Guide
Moving Your Volumes to a Different Gateway
When you detach a volume, your gateway uploads and stores the volume data and metadata to the
AWS Storage Gateway service in AWS. You can easily attach a detached volume to a gateway on any
supported host platform later.
Note
A detached volume is billed at the standard volume storage rate until you delete it. For
information about how to reduce your bill, see Reducing the Amount of Billed Storage on a
Volume (p. 162).
Note
There are some limitations for attaching and detaching volumes:
Detaching a volume can take a long time. When you detach a volume, the gateway uploads
all the data on the volume to AWS before the volume is detached. The time it takes for the
upload to complete depends on how much data needs to be uploaded and your network
connectivity into AWS.
If you detach a cached volume, you can't reattach it as a stored volume.
If you detach a stored volume, you can't reattach it as a cached volume.
A detached volume can't be used until it is attached to a gateway.
When you attach a stored volume, it needs to fully restore before you can attach it to a
gateway.
When you start attaching or detaching a volume, you need to wait till the operation
completed before you use the volume.
Currently, forcibly deleting a volume is only supported in the API.
If you delete a gateway while your volume is detaching from that gateway, it results in data
loss. Wait until the volume detach operation is complete before you delete the gateway.
If a stored gateway is in restoring state, you can't detach a volume from it.
The following steps show you how to detach and attach a volume using the Storage Gateway console.
For more information about doing this using the API, see DetachVolume or AttachVolume in the AWS
Storage Gateway API Reference.
To detach a volume from a gateway
1. Open the AWS Storage Gateway console at https://console.amazonaws.cn/storagegateway/home.
2. On the navigation pane, choose Volumes.
3. From the list of volumes, choose the volume that you want to detach. You can choose multiple
volumes to detach multiple volumes at a time.
4. For Actions, choose Detach volume. The volumes that you chose are listed in the Detach Volume
dialog box that appears. Make sure that only the volumes you want to detach are listed.
5. Choose Detach volume. If a volume that you detach has a lot of data on it, it transitions from
Attached to Detaching status until it finishes uploading all the data. Then the status changes to
Detached. For small amounts of data, you might not see the Detaching status. If the volume doesn't
have data on it, the status changes from Attached to Detached.
You can now attach the volume to a different gateway.
To attach a volume to a gateway
1. Open the AWS Storage Gateway console at https://console.amazonaws.cn/storagegateway/home.
2. On the navigation pane, choose Volumes. The status of each volume that is detached shows as
Detached.
3. From the list of detached volumes, choose the volume that you want to attach. You can attach only
one volume at a time.
API Version 2013-06-30
161

Table of Contents