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년 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
Thanks, Syd