Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


From the AWS console, one of the volume is i-9167d3ff:/dev/sda1. I tried to do cd /dev/sda1 but I get the message -bash: cd: /dev/sda1: Not a directory

share|improve this question
up vote 4 down vote accepted

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 can run the 'df' command to list them. This will show you the device name and the mount point. You can then view the contents of the mount point.

If they are not already mounted, then you would need to configure /etc/fstab with the correct places to mount your volumes. They will then be mounted at boot time, or by running the mount command.

share|improve this answer
Thanks for the info to get me started. I found a tutorial here… – David Jun 2 '11 at 16:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.