You are not logged in.

#1 2017-05-04 11:25:22

frederike
Member
Registered: 2017-05-04
Posts: 2

extended VG to existing PV - all data from PV lost?

I have a volume group called linuxvg for which I was running out of space.
Therefore I decided to extend it to an existing physical volume (/dev/sda11):

vgextend linuxvg /dev/sda11

The problem is, that this is the partition used for my arch linux root partition. I thought that also using it for the VG would not do any harm...
What happened is that I couldn't boot into arch anymore, I was sent to the emergency shell instead.
I decided to reverse the process, so I booted into ubuntu (I have a duo-boot), and ran

vgreduce linuxvg /dev/sda11

and then

pvremove /dev/sda11

after this, when running the lsblk -f, I saw that /dev/sda11 had an empty file system, so I created the old one using

mkfs.ext4 /dev/sda11

I mounted the partition /dev/sda11 in read-write but all I see is a lost+found folder and booting still doesn't work.
Is all my data on /dev/sda11 lost? If not, how can I recover it?
I would appreciate if you could help me, I have been stuck with this for too long!

Last edited by frederike (2017-05-04 12:57:34)

Offline

Board footer

Powered by FluxBB