Resizing partition in AWS
First
lsblk
If Using a Standard Partition (No LVM)
- Resize the partition:
- Resize the filesystem:
Step 4: Verify the New Storage
You should now see the increased disk space. 🚀
sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/nvme0n1p1 # For ext4
sudo xfs_growfs /dev/nvme0n1p1 # For XFS
df -h
You should now see the increased disk space. 🚀
Comments
Post a Comment