Re: Expand XFS filesystem on CentOS Linux release 8.2.2004 (Core)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 3/12/21 4:45 AM, Kaushal Shriyan wrote:
Is there a way to expand xfs filesystem /dev/nvme0n1p2 which is 7.8G and
occupy the remaining free disk space of 60GB?


Can you set up an identical EC2 instance to test the process?  I definitely wouldn't do this on a system with data that you need, but you *might* be able to:

* create a new 1M partition at the end of the drive (not BIOS boot type)
* reboot
* use 'dd' to copy the content of nvme0n1p3 to nvme0n1p4
* delete the third partition and change the fourth to BIOS boot type.
* resize the second partition
* grub-install /dev/nvme0n1
* reboot
* xfs_growfs


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux