<div dir="ltr">Thank you Lindsay, this makes perfect sense. I'm going to give this a try.<div><br></div><div>Cheers</div><div>Marc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 2:00 PM, Lindsay Mathieson <span dir="ltr"><<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 24 Feb 2015 01:45:06 PM Marc Peiser wrote:<br>
> Yes my storage is rdp. My qcow2 image that I converted is sitting in root's<br>
> home directory /root/system.qcow2<br>
><br>
> So I'd like to know how I copy this image from /root over to the ceph rbd<br>
> volume called ceph-store-1 overwriting my empty vm?<br>
<br>
<br>
</span>You need to get your image on to local proxmox storage first. You should have<br>
the default "local" storage for each proxmox node, which is mounted at<br>
"/var/lib/vz".<br>
<br>
What you need to do is create a hard disk of any size for your VM on local<br>
storage, then copy the imported qcow2 image over it. Then "Move" the disk to<br>
Ceph.<br>
<br>
e.g if the ProxMoxVM you created has an ID of "100"<br>
<br>
In the Proxmox WebGUI<br>
<br>
- Select VM 100<br>
<br>
- Open the Hardware Tab<br>
<br>
- Create a QCOW2 hard disk (if not already created).<br>
<br>
- SSH onto the proxmoxbox<br>
<br>
- The VM's hard disk is located at:<br>
  /var/lib/vz/images/100/vm-100-disk-1.qcow2<br>
<br>
- Overwrite it with your imported VM disk.<br>
  "cp /root/system.qcow2  vm-100-disk-1.qcow2"<br>
<br>
- Select the disk (vm-100-disk-1.qcow2) in the hardware tab on the web gui.<br>
<br>
- Probably a good idea to start it up at this stage and check it actually<br>
boots. Maybe snapshot it first.<br>
<br>
- Shut the VM down<br>
<br>
- Click the "Move Disk" button in the strip under the Proxmox Tabs<br>
<br>
- Choose the Ceph storage as the destination.<br>
<br>
</blockquote></div><br></div>