我正在尝试在创建 EC2 实例时指定根磁盘卷大小。我通过了选项
:block_device_mappings = [
{
:device_name => "/dev/sda1",
:ebs => {
:volume_size => 50,
}
}
]
但是当我登录到实例时,它似乎没有采用我上面指定的选项。我做错了什么?
[root@ip-172-18-15-69 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 25677580 13857284 11558168 55% /
none 1864568 0 1864568 0% /dev/shm