Created
June 12, 2024 06:42
-
-
Save phainamikaze/cf50892bd154fc1078eafc06b7d15773 to your computer and use it in GitHub Desktop.
sudo xfs_growfs /dev/nvme0n1p1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
Below worked for me in AWS CENTOS 🦊 - Amazon Linux 2 AMIS( Karoo) | |
Step 1 : Update the EBS volume from AWS console of attached EC2 | |
Step 2 : Login( SSH ) to EC2 instance in which the volume is attached | |
Step 3 : Follow the below commands and just replace the disk name. i.e xda or nvme0n1 | |
Commands : | |
lsblk | |
sudo growpart /dev/nvme0n1 1 | |
df -h | |
sudo xfs_growfs /dev/nvme0n1p1 | |
Note : You have to use xfs_growfs instead of resize2fs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment