Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.
View information about an Amazon EBS volume
You can view descriptive information about your EBS volumes. For example, you can view
information about all volumes in a specific Region or view detailed information about a single
volume, including its size, volume type, whether the volume is encrypted, which master key was
used to encrypt the volume, and the specific instance to which the volume is attached.
You can get additional information about your EBS volumes, such as how much disk space is
available, from the operating system on the instance.
You can view information about a volume using one of the following methods.
- New console
-
To view information about a volume using the console
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Volumes.
-
To reduce the list, you can filter your volumes using tags and volume attributes.
Choose the filter field, select a tag or volume attribute, and then select the filter
value.
-
To view more information about a volume, choose its ID.
To view the EBS volumes that are attached to an instance using the console
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Instances.
-
Select the instance.
-
On the Storage tab, the Block
devices section lists the volumes that are attached to the instance.
To view information about a specific volume, choose its ID in the Volume
ID column.
- Old console
-
To view information about an EBS volume using the console
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Volumes.
-
(Optional) Use the filter options in the search field to display only the volumes
that interest you. For example, if you know the instance ID, choose Instance
ID from the search field menu, and then choose the instance ID from the
list provided. To remove a filter, choose it again.
-
Select the volume.
-
In the details pane, you can inspect the information provided about the volume.
Attachment information shows the instance ID this volume is
attached to and the device name under which it is attached.
-
(Optional) Choose the Attachment information link to view
additional details about the instance.
To view the EBS volumes that are attached to an instance using the new
console
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Instances.
-
Select the instance.
-
In the Description tab, view the information provided for
Block devices. To view information about a specific volume, choose
a link next to Block devices and then choose the volume ID.
To view the EBS volumes that are attached to an instance using the old
console
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Instances.
-
Select the instance.
-
In the Description tab, for Block devices,
select the block device mapping and then choose the EBS ID to view
additional details for the volume.
- Amazon CLI
-
To view information about an EBS volume using the command line
You can use one of the following commands to view volume attributes. For more
information, see Access Amazon EC2.
- Amazon EC2 Global View
-
You can use Amazon EC2 Global View to view your volumes across all Regions for which your
Amazon account is enabled. For more information, see List and filter resources across Regions using Amazon EC2 Global View.
Volume state
Volume state describes the availability of an Amazon EBS volume. You can view the volume
state in the State column on the Volumes page in
the console, or by using the describe-volumes Amazon CLI command.
The possible volume states are:
creating
-
The volume is being created.
available
-
The volume is not attached to an instance.
in-use
-
The volume is attached to an instance.
deleting
-
The volume is being deleted.
deleted
-
The volume is deleted.
error
-
The underlying hardware related to your EBS volume has failed, and the data
associated with the volume is unrecoverable. For information about how to restore
the volume or recover the data on the volume, see My EBS volume has a status
of "error".
View volume metrics
You can get additional information about your EBS volumes from Amazon CloudWatch. For more
information, see Amazon CloudWatch metrics for Amazon EBS.
View free disk space
You can get additional information about your EBS volumes, such as how much disk space
is available, from the Linux operating system on the instance. For example, use the
following command:
[ec2-user ~]$
df -hT /dev/xvda1
Filesystem Type Size Used Avail Use% Mounted on
/dev/xvda1 xfs 8.0G 1.2G 6.9G 15% /
For information about viewing free disk space on a Windows instance, see View free disk
space in the Amazon EC2 User Guide for Windows Instances.