Extend non-LVM partition

From Michael's Information Zone
Revision as of 09:52, 4 October 2021 by Michael.mast (talk | contribs) (Created page with "==Purpose== Extend a partition and xfs filesystem on basic partitioned disk. ==Background== AWS EC2 instance with 1TB HDD storage that ran out of space. Was stupid and used fd...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Extend a partition and xfs filesystem on basic partitioned disk.

Background

AWS EC2 instance with 1TB HDD storage that ran out of space. Was stupid and used fdisk when originally created disk instead of using LVM.

Process

[1]

  • Before starting, make sure to create snapshot.
sudo growpart /dev/xvdf 1
sudo xfs_growfs /mnt/aws-archive