Use pvcreate on existing hardisk

kamranonline

New Member
Jun 3, 2013
18
1
3
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
 

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!