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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!