Importing VMDK File from Mounted USB

daws1221

New Member
Jul 19, 2025
2
1
1
Hello,

I'm trying to setup a VM using a VMDK file from my USB drive. I have the drive mounted and am trying to use qm importdisk to import it to my VM. Here is the command I am using and the result I receive. I feel like it's a syntax error, but I cannot seem to get it to work.

root@JCIpve:/# qm importdisk 105 /media/usbdrive/Virtual Machines/Windows 7 32 bit 2/Windows 7-cl2.vmdk local-lvm --format vmdk
400 too many arguments

Any help is much appreciated.
 
Try to enclose the path with " or copy the file into a path without spaces and remove them from the file's name too. Then try to import it again. Note that the target format of vmdk isn't valid for a LVM-Thin storage. It will probaby be ignored but I wanted to mention it.
TLDR: Don't have spaces in the whole path.
 
Last edited:
The power of the internet! Putting it in quotations was the fix. Also you are correct it did not like the format, but corrected itself to raw. Thank you! Much appreciated.
 
  • Like
Reactions: Impact