Hi,
I have a fedora32 install that was created by our VPS provider and
they didn't allocate the entire 480GB SSD, but apparently just chose
the default partitioning in fedora that only uses a 15GB root
partition.
How do I extend this partition to utilize the rest of the space on /
or create a /home partition that utilizes the remainder of the space?
I believe to resize the root partition I would need to do it outside
of the running OS, correct?
I've read several docs already, but I really must be missing
something. Can xfs partitions even be resized? I've tried to use
lvextend to resize root, but I don't understand the proper syntax
according to this doc:
https://opensource.com/business/16/9/linux-users-guide-lvm
Below is the fdisk output for the partition info and the fstab below.
# fdisk -l
Disk /dev/sda: 480 GiB, 515396075520 bytes, 1006632960 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9325d531
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 1006632959 1004533760 479G 8e Linux LVM
Disk /dev/mapper/fedora_209--216--100--114-root: 15 GiB, 16106127360
bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora_209--216--100--114-swap: 8.66 GiB, 9281994752
bytes, 18128896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
/dev/mapper/fedora_209--216--100--114-root / xfs
defaults 0 0
UUID=49e1a837-e82a-4ae0-8979-94ccd7365394 /boot xfs
defaults 0 0
/dev/mapper/fedora_209--216--100--114-swap none
swap defaults 0 0