GitHub user mwaag added a comment to the discussion: VMWare to KVM Migration fails - "nbdcopy command failed"
That was way too easy. Thanks! Got me a step further, but ran into an new error: The import process failed for instance i-4-57-VM from VMware to KVM on host b-kvm-test-001: Error converting instance i-4-57-VM from VMware, due to: org.libvirt.LibvirtException: cannot unlink file '/mnt/712cdae3-3474-3a73-985a-5165c940db32/df60ddc6-ffe1-4f53-8a6d-685f5c39f9b6-sda': Permission denied According to agent.log the v2v-conversion was successful now. This is the secondary storage for that kvm-zone. Here's a listing that directory: ``` root@b-kvm-test-001:~# ls -lah /mnt/712cdae3-3474-3a73-985a-5165c940db32/ total 5.1G drwxrwxrwt 5 nobody nogroup 4.0K May 9 19:33 . drwxr-xr-x 12 root root 4.0K May 9 08:18 .. -rw-r--r-- 1 nobody nogroup 193K May 8 12:28 18a02d3a-430a-4688-b9f3-b20222e67e33-sda -rw-r--r-- 1 nobody nogroup 193K May 9 13:21 20406168-eef9-416d-baa6-2cb029febf31-sda -rw-r--r-- 1 nobody nogroup 193K May 9 08:29 3a5ed540-1c2c-4620-bc00-2824462380aa-sda -rw-r--r-- 1 nobody nogroup 193K May 8 15:59 d4ebfae1-9fca-41d8-9932-e789abfe2d52-sda -rw-r--r-- 1 nobody nogroup 5.1G May 9 19:33 df60ddc6-ffe1-4f53-8a6d-685f5c39f9b6-sda -rw-r--r-- 1 nobody nogroup 1.8K May 9 19:33 df60ddc6-ffe1-4f53-8a6d-685f5c39f9b6.xml -rw-r--r-- 1 nobody nogroup 193K May 8 15:32 e8b11c7a-9387-4f5a-990a-cb1e486320c8-sda drwxrwxrwx 2 nobody nogroup 4.0K May 4 14:56 snapshots drwxr-xr-x 3 nobody nogroup 4.0K Apr 30 15:18 template drwxrwxrwx 2 nobody nogroup 4.0K May 4 14:56 volumes ``` Why is it mounted with nobody:nogroup? Can i influence that? My primary storage is mounted that way too! But i already have several vms running in that zone (1x user-vm + some system-vms). ``` root@b-kvm-test-001:~# virsh list Id Name State ---------------------------- 8 i-4-134-VM running 11 s-144-VM running 12 v-145-VM running 14 r-146-VM running ``` ``` root@b-kvm-test-001:~# mount [...] 192.168.2.4:/bi_nfs_testenv_cloudstack0_pri_kvm on /mnt/e336c1bb-917c-30ca-82df-7b118b5fda18 type nfs4 (rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.50,local_lock=none,addr=192.168.2.4) 192.168.2.4:/bi_nfs_testenv_cloudstack0_sec_2 on /mnt/712cdae3-3474-3a73-985a-5165c940db32 type nfs4 (rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.50,local_lock=none,addr=192.168.2.4) ``` ``` root@b-kvm-test-001:~# ls -lah /mnt/e336c1bb-917c-30ca-82df-7b118b5fda18 total 13G drwxr-xr-x 3 nobody nogroup 4.0K May 9 19:33 . drwxr-xr-x 12 root root 4.0K May 9 08:18 .. -rw-r--r-- 1 nobody nogroup 5.1G May 9 19:33 98d0b8fc-339b-4f75-b5d5-dfbfb3e49620 -rw-r--r-- 1 nobody nogroup 3.8G May 7 13:54 d34deb50-025e-4256-9d83-aa429bb934a4 -rw-r--r-- 1 nobody nogroup 37M May 9 19:36 de80f546-58d1-46ff-bc8e-11beb9327681 -rw-r--r-- 1 nobody nogroup 3.8G May 7 13:45 e5481393-5080-476f-8df9-11004a66aace drwxr-xr-x 2 nobody nogroup 4.0K May 6 15:44 KVMHA ``` These aren't manual mounts. They were mounted at zone-creation i think? GitHub link: https://github.com/apache/cloudstack/discussions/10841#discussioncomment-13095007 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org