1 Answer
- Newest
- Most votes
- Most comments
0
Disk size is not an issue and root access should be available using sudo.
If all that you are looking for is to be able to mount the volume on the ECS instance ( and not any container within it since you mentioned ECS), log into the instance as ec2-user and type the following
sudo mkfs.ext4 /dev/sdb
sudo mkdir /mnt/vol2
sudo mount /dev/sdb /mnt/vol2
The above command assumes that /dev/sdb is a new volume without any data. The 2nd volume would be mounted to /mnt/vol2. You can change the mount point as you wish
--Syd
answered 2 years ago
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 years ago
Thanks, Syd