Expanding XFS on LVM | Blivet-gui shows two identical volumegroups after vgmerge

,

Hello all,

my initial problem was a space problem in /. I have a windows ntfs-partition on the system disk (the physical drive) which I don’t use anymore. I shrunk the ntfs to gain some space and made the freed space volumegroup “plus”. Then I vgmerge(d) the existing VG fedora and the new VG plus. Then I added the free space of the former VG plus to logical drive / resulting in an increase in space according to the size of the free space. The system still works fine, but I still have a space problem in / and blivet-gui shows TWO identical VGs named fedora…Should I be worried?

1 Like

Check the output:

sudo vgs; sudo pvs; sudo lvs; lsblk -p -o +FSTYPE,FSAVAIL,FSUSE%
1 Like

vgs
VG #PV #LV #SN Attr VSize VFree
fedora 2 3 0 wz–n- <412.49g 20.00m

pvs
PV VG Fmt Attr PSize PFree
/dev/nvme0n1p6 fedora lvm2 a-- <394.47g 0
/dev/nvme0n1p7 fedora lvm2 a-- <18.02g 20.00m

lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home fedora -wi-ao---- <326.40g
root fedora -wi-ao---- 78.54g
swap fedora -wi-ao---- <7.53g

lsblk -p-o…
zram0 252:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /boot/efi
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 62.2G 0 part
├─nvme0n1p4 259:4 0 1000M 0 part
├─nvme0n1p5 259:5 0 1G 0 part /boot
├─nvme0n1p6 259:6 0 394.5G 0 part
│ ├─fedora-root 253:0 0 78.5G 0 lvm /
│ ├─fedora-swap 253:1 0 7.5G 0 lvm [SWAP]
│ └─fedora-home 253:2 0 326.4G 0 lvm /home
└─nvme0n1p7 259:7 0 18G 0 part
└─fedora-root 253:0 0 78.5G 0 lvm /
nvme1n1 259:8 0 931.5G 0 disk
└─nvme1n1p1 259:9 0 931.5G 0 part /mnt/73e46423-b9

Seen like that, my fses are pretty botched…:frowning:

1 Like

Somehow the fstype didn’t parse… nvme01p3 is ntfs, the lvm fs are xfs and the additional disk is ext4 - for what it’s worth…

1 Like

I see nothing wrong yet, also check this:

lsblk -p -f; df -h
1 Like

Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/fedora-root 61G 57G 3.8G 94% /
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 7.5G 135M 7.3G 2% /dev/shm
efivarfs 154K 82K 68K 55% /sys/firmware/efi/efivars
tmpfs 3.0G 28M 3.0G 1% /run
/dev/loop0 128K 128K 0 100% /var/lib/snapd/snap/bare/5
/dev/loop3 104M 104M 0 100% /var/lib/snapd/snap/c…

/dev/loop65 347M 347M 0 100% /var/lib/snapd/snap/wine-platform-runtime/367
/dev/nvme0n1p5 1014M 371M 644M 37% /boot
/dev/nvme1n1p1 916G 481G 389G 56% /mnt/73e46423-b9df-42ed-ac74-3dbc1bd449a2
tmpfs 7.5G 48M 7.4G 1% /tmp
/dev/nvme0n1p1 256M 39M 218M 15% /boot/efi
/dev/mapper/fedora-home 327G 104G 223G 32% /home
tmpfs 1.5G 216K 1.5G 1% /run/user/1000

Thank you for your time!

2 Likes
sudo lvextend -r -l +100%FREE /dev/mapper/fedora-root
sudo xfs_growfs -d /dev/mapper/fedora-root
2 Likes