ISCSI problem

tylerdurden81

Member
Jan 8, 2011
124
0
16
Some how my Iscsi got messed up and is now gone. I added a new ISCSI target and a new lvm but i cant see the VM images anymore.. how can i load these images again?
 
Ok i was able to fix the problem
pvcreate -ff --uuid 56ogEk-OzLS-cKBc-z9vJ-kP65-DUBI-hwZPSu /dev/sdb

I used the UUID from the OLD pvgroup

Then i moved a vgname000.vg from /etc/lvm/archive to /etc/lvm/backup

and ran the command vgcfgrestore vgname -f vgname000.vg

Fixed me right up :)
 
If you added the same target and created again a LVM partition on it, your old LVM partition is lost i think.
Try to connect via SSH on the host, and enter lvdisplay to see your LVM partitions

Edit : too late ;p