I was running out of space in my volume group (VG) called "linuxvg" and therefore chose to add one more physical volume (PV) to it, called /dev/sda11 (already existing in partition table). I simply ran:
pvcreate /dev/sda11 pvextend linuxvg /dev/sda11
The problem is that /dev/sda11 was also my root partition and this operation made it stop working (I was directed to emergency shell instead of booting). I made the mistake of thinking that one partition could be used for a VG and as a normal volume at the same time.
I tried to revert the process by doing
vgreduce linuxvg /dev/sda11 pvremove /dev/sda11
which seemed to revert everything to the original state, but it seems like all the files from my /dev/sda11 are lost. Since "filesystem" was empty when running
I created it again using
with no success.
I would really appreciate your help, I have been stuck on this for too long!