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% /var/lib/ceph/osd/ceph-1 /dev/sdc1 2.8T 102G 2.7T 4% /var/lib/ceph/osd/ceph-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 rbd\udata.1598342ae8944a.00000000000000a3__head_C767A8DA__9 -rw-r--r-- 1 root root 4194304 Jan 31 06:36 rbd\udata.1598342ae8944a.000000000000123a__head_1FA2DDDA__9 -rw-r--r-- 1 root root 4194304 Jan 27 06:48 rbd\udata.16a7622ae8944a.00000000000000dd__head_ACDFF8DA__9 ... A little lost :) Thanks Marc On Tue, Feb 24, 2015 at 12:52 PM, Eneko Lacunza <[email protected]> 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 > [email protected] > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user >
_______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
