2 個答案
- 最新
- 最多得票
- 最多評論
0
I see your issue.. You are using the partition in the grow command instead of the disk..
Try this
sudo growpart /dev/xvda 1
0
Follow these instructions. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
It looks like you are trying to resize the AWS disk device than what the Linux OS sees it as..
sudo lsblk
Will display the volumes from Linux point of view
Thanks - but I thought I had already done that. The output from the lsblk command is NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 50G 0 disk └─xvda1 202:1 0 30G 0 part /
So my understanding is that the partition is xvda1...
I see your issue.. You are using the partition in the grow command instead of the disk.. Try this sudo growpart /dev/xvda 1
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 1 年前
Of course! Thanks so much
Happy to be of assistance