kvm guest on sdb1

Alexander Fox

Renowned Member
Jan 2, 2012
15
1
68
Munich, Germany, Germany
I have my kvm guest before i have install Proxmox Server on a order /kvm/kvm-guest.img and I want this use on the new server. How can I dot have create a Storage. Is this correct in config use

Code:
ide0: kvm:100/vm-100-disk-1.raw

When I start the client it not works
 
Hi,
you have mounted the addition space on /kvm and the disk-file is directly there named kvm-guest.img?
In this case you must move the disk-file in an subdirectory "/kvm/images/100/kvm-guest.img" (better you named the file /kvm/images/100/vm-100-disk-1.raw ).
The reason for the subdirectory is, that the storage can contain other types, like backups (./dump) and so on.

Then you should have an storage section like this (in /etc/pve/storage.cfg):
Code:
dir: kvm
    path /kvm
    content images
and in VMID.conf
Code:
ide0: kvm:100/kvm-guest.img
Udo