[PVE-User] Mount ceph storage to replace vm image

Mailing Lists lists at nerens.com
Tue Feb 24 12:06:58 CET 2015

Hi Eneko,

Thanks for your reply. I'm a little unsure how to replace my new vm with
the empty one I created. Using a regular file system like ext4 this is easy
as I can just cd to the mounted file system and move my image over the
empty one, but with the ceph object store I can't seem to find the mount
point or the image I need to replace?

I have 3 servers, each have 2 disks, here's an example from one of the
servers (ceph and proxmox are running on the same boxes):

/dev/sdb1                                  2.8T   82G  2.7T   3%
/dev/sdc1                                  2.8T  102G  2.7T   4%

If I look inside /var/lib/ceph/osd/ceph-1/current where I believe some my
data is, I see many _head directories with even more files inside:

/var/lib/ceph/osd/ceph-1/current# ls -l 9.da_head/ |head
total 813816
-rw-r--r-- 1 root root 4194304 Jan 24 06:50
-rw-r--r-- 1 root root 4194304 Jan 31 06:36
-rw-r--r-- 1 root root 4194304 Jan 27 06:48

A little lost :)


On Tue, Feb 24, 2015 at 12:52 PM, Eneko Lacunza <elacunza at binovo.es> wrote:

> Hi,
> On 24/02/15 11:42, Mailing Lists wrote:
>> I'm running proxmox with ceph storage backend and I'm looking to import
>> an existing vm into proxmox. I've converted it to kvm/qcow2 and created a
>> new vm in proxmox with similar disk parameters but I cannot figure out how
>> to mount the ceph volume so I can copy over the existing vm image.
>> Can anyone give me any pointers?
>> Current vm I want to replace in proxmox says:
>> ceph-store-1:vm-110-disk,size=32G
> Remove that (empty) RBD disk. Create an empty qcow2 disk in the VM, then
> replace the created empty file with the one you have. Finally select the
> disk in proxmox interface and move it to ceph storage.
> Cheers
> Eneko
> --
> Zuzendari Teknikoa / Director Técnico
> Binovo IT Human Project, S.L.
> Telf. 943575997
>       943493611
> Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
> www.binovo.es
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150224/3cdcd02a/attachment.htm>

More information about the pve-user mailing list