Migration of storage from old server to Proxmox

t78Linux

New Member
Mar 26, 2020
4
1
3
41
Hello
I am currently trying to migrate my old server which was a Debian server with no virtualisation running Samba and several drives using LVM called "Fileserver" to a Proxmox server.
My intention is to use my existing LVM logical volume, which consists of 3 harddisks, formatted to ext4 and filled with data and to migrate it to Proxmox - the logical volume uses about 90% of the storage. Backing up the data to delete this volume would require me to purchase some TBs of harddisks just for the one time backup process - so this is not really an option.
The LVM volume group "Fileserver" is setup in Proxmox and is manually mountable via shell. But is there any way that I can use this existing VG for different VMs I intend to install, like for instance openmediavault ?

thank you in advance
 

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
2,393
365
103
South Tyrol/Italy
shop.maurer-it.com
Hi, if you installed Proxmox VE on some other disk, and the disk with the PVE/VG/LVs are in the same server you should be able to add a VG as storage as usual. Go to Datacenter → Storage and use the "Add LVM" button. This storage then should be usable for new disk volumes of VMs or CTs.
 

t78Linux

New Member
Mar 26, 2020
4
1
3
41
My VG/LV is available both to the datacenter and the node and is set as "shared".
I think the problem is that I want to use the existing data on the LV of this VG for a newly installed VM (openmediavault). If I understand it correctly, adding disk-space to the VM via "Hardware-> Add -> Harddisk" only let me use the free, unallocated space by creating a new LV on the VG - same goes with directory.
I just want the whole LV on the VG avaiable to the VM, without creating a new LV or disk space via directory.

thanks a lot
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!