AWS Storage Gateway User Guide
Recovering a Virtual Tape From An Unrecoverable Gateway
Storage Gateway moves the tape from the failed tape gateway to the tape gateway you specified. The
tape gateway marks the tape status as RECOVERED.
You Need to Recover a Virtual Tape from a Malfunctioning
Cache Disk
If your cache disk encounters an error, the gateway prevents read and write operations on virtual tapes in
the gateway. For example, an error can occur when a disk is corrupted or removed from the gateway. The
AWS Storage Gateway console displays a message about the error.
In the error message, Storage Gateway prompts you to take one of two actions that can recover your
tapes:
•
Shut Down and Re-Add Disks
– Take this approach if the disk has intact data and has been removed.
For example, if the error occurred because a disk was removed from your host by accident but the disk
and the data is intact, you can re-add the disk. To do this, see the procedure later in this topic.
•
Reset Cache Disk
– Take this approach if the cache disk is corrupted or not accessible. If the disk error
causes the cache disk to be inaccessible, unusable, or corrupted, you can reset the disk. If you reset
the cache disk, tapes that have clean data (that is, tapes for which data in the cache disk and Amazon
S3 are synchronized) will continue to be available for you to use. However, tapes that have data that
is not synchronized with Amazon S3 are automatically recovered. The status of these tapes is set to
RECOVERED, but the tapes will be read-only. For information about how to remove a disk from your
Determining the Size of Upload Buffer to Allocate (p. 221)
Important
If the cache disk you are resetting contains data that has not been uploaded to Amazon S3
yet, that data can be lost. After you reset cache disks, no configured cache disks will be left in
the gateway, so you must configure at least one new cache disk for your gateway to function
properly.
To reset the cache disk, see the procedure later in this topic.
To shut down and re-add a disk
1. Shut down the gateway. For information about how to shut down a gateway, see
2. Add the disk back to your host, and make sure the disk node number of the disk has not
changed. For information about how to add a disk, see
Determining the Size of Upload Buffer to
.
3. Restart the gateway. For information about how to restart a gateway, see
.
After the gateway restarts, you can verify the status of the cache disks. The status of a disk can be one of
the following:
•
present
– The disk is available to use.
•
missing
– The disk is no longer connected to the gateway.
•
mismatch
– The disk node is occupied by a disk that has incorrect metadata, or the disk content is
corrupted.
To reset and reconfigure a cache disk
1. In the
A disk error has occurred
error message illustrated preceding, choose
Reset Cache Disk
.
API Version 2013-06-30
336