This is for questions on Amazon's storage service for its ec2 service.
Questions tagged [amazon-ebs]
573 questions
4
votes
0 answers
AWS: Can't mount my restored volume (EBS snapshot)
I restored an EBS volume from AWS Backup and attached it to a new EC2 instance. When I lsblk I can see it under the name /dev/nvme1n1.
More specifically the output of lsblk is:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 …

HelloWorld
- 137
- 4
4
votes
3 answers
Can't grow XFS file system on Amazon EC2: xfs_growfs: / is not a mounted XFS filesystem
I've followed instructions here exactly: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
for "Example: Extending the file system of NVMe EBS volumes" trying to grow a disk from 10 GB to 20 GB.
When I get to…

StevieD
- 514
- 8
- 24
4
votes
1 answer
Can we resize the EBS volume when snapshot is in progress?
I've an ec2 instance with root volume and additional volume attached, additional volume is 92% used.
I took a ebs snapshot , but looks like its very slow.
Can I go ahead and increase the volume size and expand the volume while snapshot is in…

Swat
- 465
- 5
- 7
3
votes
1 answer
Run Systemd Service Unit After AWS EBS Volume Mount
I launch m5.large (nitro-based) EC2 instance from Ubuntu AMI and attach EBS volume. There is systemd as a default init system. As AWS documentation "Making an Amazon EBS Volume Available for Use on Linux" stands, I mount EBS volume within user…

Tensho
- 131
- 1
- 3
3
votes
1 answer
Extending Linux file system after resizing the EBS volume
I have resized the EBS volume using the AWS console Modify Volume. This is what the lsblk command returns before any change:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvdn 202:208 0 4G 0 disk
└─md0 9:0 0 16G 0 raid0…

devd
- 133
- 4
3
votes
2 answers
Map drive letter to VolumeID
I've received the complaint...
Help! My I drive filled up on EC2-Server-1! Please give moar space!
However, when I remote on the the server before extending the volume, I find I cannot easily figure out which EBS volume I will need to extend.
When…

Peter Vandivier
- 393
- 1
- 2
- 12
3
votes
1 answer
How do you buy AWS EBS like an RI
I have bought and am using a reserved instance however I still get monthly bills for the EBS.
Question is how do I make a similar single payment for the volume as well?

ssn
- 143
- 3
3
votes
1 answer
Are EBS snapshots deleted when the volume itself is deleted?
I have a client who are 'upgrading' their OS but tearing down the entire instance, creating a new one based on the updated AMI and creating the setup including EBS volume. When they delete the EBS volume, all the shapshots are also removed, right?…

Nic Cottrell
- 1,302
- 16
- 32
3
votes
4 answers
Persist file changes on EC2 instance without creating a new AMI/Launch Configuration every time
I'm pretty new to AWS, but I've got a very small Amazon Linux EC2 instance that's used for a simple, occasional PHP process so I'm not using CodeDeploy, Load Balancers, etc. My boss wants to use WinSCP to upload some PHP code from time to time.
I'm…

Michael Hommé
- 133
- 6
3
votes
0 answers
shrinking EBS volume that used as root
I have an EBS volume that is 800GB and I am using only 5GB of this. I want to shrink it but AWS doesn't support this, after a bit of a research, I have found that I can mount both volumes and rsync the content of the bigger one to the new one. This…

Mark Khateeb
- 141
- 1
- 1
- 11
3
votes
2 answers
I cannot attach volume to running EC2 instance
The following error is displayed when I am trying to attach EBS volume to running EC2 instance which is part of a Kubernetes cluster:
Error attaching volume: Invalid value '/dev/sdf' for unixDevice. Attachment point /dev/sdf is already in use
This…

ibedelovski
- 513
- 4
- 9
- 20
3
votes
2 answers
Migrating from AWS EBS to Co-Lo hosted SAN/NAS
My company has reached that tipping point where what we are spending on EBS storage warrants a serious look at moving our storage to a SAN/NAS in a Co-Lo location connected with AWS Direct Connect.
Pricing Co-Lo and Connectivity in this regard is…

Garreth McDaid
- 3,449
- 1
- 27
- 42
3
votes
3 answers
How long will it take to create a new EBS volume from a 1TB snapshot?
I am taking periodic snapshots of a 1TB EBS (Amazon Web Services Elastic Block Store) volume as backup. In the case of the whole AZ (Availability Zone) becoming unavailable, my Disaster Recovery plan is to create a new EBS volume from the latest…

brendan
- 225
- 1
- 3
- 8
3
votes
1 answer
Web Server on AWS EC2 Auto Scaling Storage
So I'm trying to learn more about AWS EC2 Auto Scaling and trying to figure out how exactly storage works between instances. When creating new instances it looks like a new EBS volume for each instance.
If I'm running a web server on EC2 Auto…

Charlie Fish
- 217
- 2
- 9
3
votes
2 answers
AWS Encrypted EBS Boot Volumes for Windows Instances
Is it possible to create an encrypted ebs boot volume for a windows ec2 instance?
This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image -r us-east-1 -s ami-60b6c60a --encrypted…

Peter M
- 973
- 2
- 15
- 27