I have got 4 6TB HDD's, each is divided into 5 partitions: 1) ESP - 250mb 2) raid - rootfs 14gb raid1 3) swap - 5gb 4) raid - 70gb raid1 LVM's for VM's 5) raid - 16tb raid5 LVM for storage
And question is regarding (5). After creating raid5 (mdadm), PV & Vg was made, and on top LVM (whole 16TB). Afterwards KVM and first VM was installed (on lvm from (4) and this 16TB LVM (5) was assigned to it. So the one big 16TB partition (sda1) was created inside and it was formatted to ext4.
Here comes trouble: I wanted to reduce LVM size on host machine, but no luck... I know that sda1 shouldn't be created, but it is too late now. What steps should be done to shrink this LVM on host machine? Probably VM's filesystem->shrink VM's partition sda1-> somehow reduce sda size-> and finally shrink LVM that is on host machine, so that new LVM would fit there?
I hope that it is clear that Data must stay untouched :) There is like 10TB of data at the moment.