FG

How to view contents of an EBS volume attached to an EC2 instance via Terminal?

Fresh3 days ago
Mar 15, 202611058 views
Confidence Score0%
0%

Problem

I've setup an EC2 instance and have 2 EBS volumes attached to it. I would like to view the contents of each volume. How do I view it via the terminal (cd /somePath)? I've already have a valid SSH connection to the EC2 instance. Edit: From the AWS console, one of the volume is . I tried to do but I …

Error Output

i-9167d3ff:/dev/sda1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to view contents of an EBS volume attached to an EC2 instance via Terminal?

Low Risk

Items in the dev directory are devices, so you can't view them directly. This in effect is the disk for the EBS volume in question. Typically this is mounted on a specific directory, such as /mnt/volumename. If they volumes are already mounted, you …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment