Resize EBS volume is AWS

 sudo file -s /dev/nvme0n1

-> xfs

sudo lsblk

if the file system is mounted directly to the EBS volume, then we can use the command below 

sudo xfs_growfs -d /your-folder-path


df -hT

sudo lsblk 


----------

Can not resize down the EBS volume

Before making changes, please take a snapshot

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch