parted で LVM パーテーションを広げる
parted
parted の中で
resizepart 2 100%
「2」 のところは parted 中に 「p」 で表示されるパーテーション IDpvresize で Physical volume を広げる
pvresize /dev/sda2
lvresize で Logical volume を広げる
lvresize -l +100%FREE /dev/fedora/root
xfs_growfs でファイルシステムを広げる
xfs_growfs /
/dev/mapper/fedora-root や /dev/fedora/root だと 「is not a mounted XFS filesystem」 と言われるのでマウントしてる場所を指定