Moving VMDK from VMFS to LVM in RAW format.

inder441

Member
Dec 17, 2024
33
3
8
Canada
github.com
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: 8
  • pic2.PNG
    pic2.PNG
    42.6 KB · Views: 8
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
 
  • Like
Reactions: inder441