Moving VMDK from VMFS to LVM in RAW format.

inder441

New Member
Dec 17, 2024
2
0
1
Hello folks,

I am new to proxmox and I am trying to find a way in shell cli to move disk from mounted VMFS disk to LVM disk.

I created a PV and VG on top of PV then a LVM storage using the VG. This is where I save all the VM disks in raw format.

This LVM disk is a SAN disk shared between multiple hosts over HBA.

I also want to move OVF file in the same location.

May someone please advise how this can be achieved using shell cli.


Regards,
Inderjeet Singh
 

Attachments

  • pic1.PNG
    pic1.PNG
    44.7 KB · Views: 3
  • pic2.PNG
    pic2.PNG
    42.6 KB · Views: 3
Thank you for the response. However, these links do not tell me how to move the disk to the LVM storage. If you see in pic2, path is blank for LVM.
 
Did you actually read the first link?
It says this:
  • The parameters for the command are: qm disk import {target VMID} {vmdk file} {target storage}. For example: qm disk import 104 Server.vmdk local-zfs

Replacing target storage with the Name of your target storage should work. You will need to create a vm before though