Hello Uwe,

On Fri, Sep 06, 2019 at 10:41:18AM +0200, Uwe Sauter wrote:
> Hi,
> 
> I'm having trouble moving a disk image to Ceph. Moving between local disks 
> and NFS share is working.
> 
> The error given is:
> 
> ########
> create full clone of drive scsi0 (aurel-cluster1-VMs:112/vm-112-disk-0.qcow2)
> rbd: create error: (17) File exists
> TASK ERROR: storage migration failed: error with cfs lock 
> 'storage-vdisks_vm': rbd create vm-112-disk-0' error: rbd: create error:
> (17) File exists
> ########
Can you see anything in the ceph logs? And on what version (pveversion
-v) are you on?

> 
> but this is not true:
> 
> ########
> root@px-bravo-cluster:~# rbd -p vdisks ls
> vm-106-disk-0
> vm-113-disk-0
> vm-113-disk-1
> vm-113-disk-2
> vm-118-disk-0
> vm-119-disk-0
> vm-120-disk-0
> vm-125-disk-0
> vm-125-disk-1
> ########
Can you create the image by hand (rbd -p rbd create vm-112-disk-0 --size
1G)? And (rbd -p rbd rm vm-112-disk-0) for delete, ofc.

> 
> Here is the relevant part of my storage.cfg:
> 
> ########
> nfs: aurel-cluster1-VMs
>       export /backup/proxmox-infra/VMs
>       path /mnt/pve/aurel-cluster1-VMs
>       server X.X.X.X
>       content images
>       options vers=4.2
> 
> 
> rbd: vdisks_vm
>       content images
>       krbd 0
>       pool vdisks
> ########
Is this the complete storage.cfg?

--
Cheers,
Alwin

_______________________________________________
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to