Use pvcreate on existing hardisk

kamranonline

Renowned Member
Jun 3, 2013
19
1
68
I tried to mount my Proxmox Harddisk into another machine, I wrongly use this command :
proxmox-ve:~# pvcreate /dev/sdg1 Physical volume "/dev/sdb1" successfully created proxmox-ve:~#
proxmox-ve:~# vgcreate usb-stick /dev/sdg1 Volume group "usb-stick" successfully created proxmox-ve:~#
And right now I dont have any access to my DATA :( What can I do know ?

only usb-stick is in my vgscan list and lvdisplay and other commands didnt show any thing !

 
I tried to mount my Proxmox Harddisk into another machine, I wrongly use this command :
proxmox-ve:~# pvcreate /dev/sdg1 Physical volume "/dev/sdb1" successfully created proxmox-ve:~#
proxmox-ve:~# vgcreate usb-stick /dev/sdg1 Volume group "usb-stick" successfully created proxmox-ve:~#
And right now I dont have any access to my DATA :( What can I do know ?

only usb-stick is in my vgscan list and lvdisplay and other commands didnt show any thing !

Hi,
what is the output of
Code:
parted /dev/sdg print
Udo