1 個回答
- 最新
- 最多得票
- 最多評論
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
已回答 2 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 個月前
Thanks, Syd