use of vgcfgrestore to rescue lost volumegroup

robnl

New Member
Oct 19, 2010
8
0
1
As posted earlyer, after a reboot my hosts lost a complete volumegroup on an iscsi target.
There should be a "volumegroup pve-qnap", but vgscan shows only "volumegroup pve"

The target seems there:
iscsiadm -m node session
172.16.20.10:3260,1 iqn.2004-04.com.qnap:ts-439u:iscsi.qnaptarget1.bf9afe

lsscsi
[0:0:0:0] cd/dvd TEAC DW-224E-V C.CA /dev/sr0
[2:0:0:0] disk QNAP iSCSI Storage 3.1 /dev/sda

is it save to restore the pve-qnap backupconfig from /etc/lvm/backup ?
(i'm getting a bit desperate..)
 
thanks for your reply.
pvscan
PV /dev/block/104:2 VG pve lvm2 [272.90 GB / 3.99 GB free]
Total: 1 [272.90 GB] / in use: 1 [272.90 GB] / in no VG: 0 [0 ]

so that means the disk is not there ?

can you lead me how to get it there please?
 
Last edited:
thanks for your reply.
pvscan
PV /dev/block/104:2 VG pve lvm2 [272.90 GB / 3.99 GB free]
Total: 1 [272.90 GB] / in use: 1 [272.90 GB] / in no VG: 0 [0 ]

so that means the disk is not there ?

can you lead me how to get it there please?
Hi,
right - your iScsi-Disk aren't there. Unfortunaly i'm no iscsi-expert (have made some tests, years ago). Try to reconnect to the iScsi-Volume.

Udo