Hi,
I have two 8TB disks(sda, sdb), make up a RAID1 using lvconvert -m1 pve/data_tdata and pve/data_tmeta.
Yesterday I powered off my server and did some other things, when I powered on again, kernel printed some logs:
pvs command told me: /dev/sdb3 is 'unknown', so I think I should remove sdb.
next I forgot what I ran, but it told me I should remove missing devices first, and suggest me to run: vgreduce --removemissing, I did so, and failed again, suggest me to add a --force to vgreduce, I followed again.
because disk sda is good, so I think sda won't lost any data, but when I ran `vgreduce --removemissing --force pve`, it ran a long time, after about 20 minutes, I stopped it, I found I lost 7 thin LVs, both in sda and sdb.
Even I restored LVM backup with vgcfgrestore, lost LVs still cannot be found:
Do I have a chance to get back my data? I will be crazy...
Thanks !
I have two 8TB disks(sda, sdb), make up a RAID1 using lvconvert -m1 pve/data_tdata and pve/data_tmeta.
Yesterday I powered off my server and did some other things, when I powered on again, kernel printed some logs:
Code:
[Tue Sep 14 15:02:21 2021] device-mapper: raid: Loading target version 1.14.0
[Tue Sep 14 15:02:21 2021] device-mapper: raid: Failed to read superblock of device at position 0
[Tue Sep 14 15:02:21 2021] device-mapper: raid: Failed to read superblock of device at position 1
[Tue Sep 14 15:02:21 2021] md: pers->run() failed ...
[Tue Sep 14 15:02:21 2021] device-mapper: table: 253:6: raid: Failed to run raid array
[Tue Sep 14 15:02:21 2021] device-mapper: ioctl: error adding target to table
next I forgot what I ran, but it told me I should remove missing devices first, and suggest me to run: vgreduce --removemissing, I did so, and failed again, suggest me to add a --force to vgreduce, I followed again.
because disk sda is good, so I think sda won't lost any data, but when I ran `vgreduce --removemissing --force pve`, it ran a long time, after about 20 minutes, I stopped it, I found I lost 7 thin LVs, both in sda and sdb.
Even I restored LVM backup with vgcfgrestore, lost LVs still cannot be found:
[Tue Sep 14 21:38:53 2021] device-mapper: table: 253:19: thin: Couldn't open thin internal device
[Tue Sep 14 21:38:53 2021] device-mapper: ioctl: error adding target to table
[Tue Sep 14 21:38:53 2021] device-mapper: table: 253:19: thin: Couldn't open thin internal device
[Tue Sep 14 21:38:53 2021] device-mapper: ioctl: error adding target to table
[Tue Sep 14 21:38:53 2021] device-mapper: table: 253:19: thin: Couldn't open thin internal device
[Tue Sep 14 21:38:53 2021] device-mapper: ioctl: error adding target to table
[Tue Sep 14 21:38:53 2021] device-mapper: table: 253:19: thin: Couldn't open thin internal device
[Tue Sep 14 21:38:53 2021] device-mapper: ioctl: error adding target to table
...
Do I have a chance to get back my data? I will be crazy...
Thanks !