Copy Questions - Please Help!

danielmi

New Member
Dec 2, 2020
3
0
1
39
Hi guys,

I have some difficults, what I need to do is copy all my VMs (Containers) in my Storage to another "Local" (Storage too) in my network,
but how I can find the .raw image in my storage at ProxMox ?

HTML:
root@pveOne:~# pvesm list storage01
Volid                   Format  Type                Size VMID
storage01:vm-100-disk-0 raw     images      214748364800 100
storage01:vm-101-disk-0 raw     images      268435456000 101
storage01:vm-102-disk-0 raw     images      268435456000 102
storage01:vm-104-disk-0 raw     images      268435456000 104
storage01:vm-104-disk-1 raw     images    10995116277760 104
storage01:vm-104-disk-2 raw     images     8589934592000 104
storage01:vm-104-disk-3 raw     images     6597069766656 104
storage01:vm-105-disk-0 raw     images      268435456000 105
storage01:vm-107-disk-0 raw     images      268435456000 107
storage01:vm-108-disk-0 raw     images      644245094400 108
storage01:vm-109-disk-0 raw     images       34359738368 109
storage01:vm-110-disk-0 raw     images      536870912000 110
storage01:vm-111-disk-0 raw     images      107374182400 111
storage01:vm-111-disk-1 raw     images      322122547200 111
storage01:vm-118-disk-0 raw     images     2684354560000 118
storage01:vm-119-disk-0 raw     images       53687091200 119
storage01:vm-119-disk-1 raw     images       34359738368 119
storage01:vm-121-disk-0 raw     images        8589934592 121
storage01:vm-124-disk-0 raw     images      536870912000 124


HTML:
root@pveOne:/dev# lvs
  LV            VG        Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data          pve       twi-aotz-- 702.42g             0.00   0.26
  root          pve       -wi-ao----  96.00g
  swap          pve       -wi-ao----   8.00g
  vm-100-disk-0 storage01 -wi-a----- 200.00g
  vm-101-disk-0 storage01 -wi-ao---- 250.00g
  vm-102-disk-0 storage01 -wi-ao---- 250.00g
  vm-104-disk-0 storage01 -wi-ao---- 250.00g
  vm-104-disk-1 storage01 -wi-ao----  10.00t
  vm-104-disk-2 storage01 -wi-ao----   7.81t
  vm-104-disk-3 storage01 -wi-ao----   6.00t
  vm-105-disk-0 storage01 -wi-ao---- 250.00g
  vm-107-disk-0 storage01 -wi-ao---- 250.00g
  vm-108-disk-0 storage01 -wi-a----- 600.00g
  vm-109-disk-0 storage01 -wi-a-----  32.00g
  vm-110-disk-0 storage01 -wi-ao---- 500.00g
  vm-111-disk-0 storage01 -wi-a----- 100.00g
  vm-111-disk-1 storage01 -wi-a----- 300.00g
  vm-118-disk-0 storage01 -wi-a-----   2.44t
  vm-119-disk-0 storage01 -wi-a-----  50.00g
  vm-119-disk-1 storage01 -wi-a-----  32.00g
  vm-121-disk-0 storage01 -wi-a-----   8.00g
  vm-124-disk-0 storage01 -wi-a----- 500.00g

Can anyone help me please ?

Thanks a lot.
 
You can find the location with
Code:
pvesm path storage01:vm-100-disk-0
But I suggest using the GUI: VM -> Hardware -> Move disk.
 
@Dominic ,

Code:
create full clone of drive virtio0 (storage01:vm-109-disk-0)
  Logical volume "vm-109-disk-0" created.
transferred: 0 bytes remaining: 34359738368 bytes total: 34359738368 bytes progression: 0.00 %
transferred: 343597383 bytes remaining: 34016140985 bytes total: 34359738368 bytes progression: 1.00 %
transferred: 687194767 bytes remaining: 33672543601 bytes total: 34359738368 bytes progression: 2.00 %
transferred: 1030792151 bytes remaining: 33328946217 bytes total: 34359738368 bytes progression: 3.00 %
transferred: 1374389534 bytes remaining: 32985348834 bytes total: 34359738368 bytes progression: 4.00 %
transferred: 1717986918 bytes remaining: 32641751450 bytes total: 34359738368 bytes progression: 5.00 %
transferred: 2065020275 bytes remaining: 32294718093 bytes total: 34359738368 bytes progression: 6.01 %
qemu-img: error while writing at byte 2147483136: Device or resource busy
  Logical volume "vm-109-disk-0" successfully removed
TASK ERROR: storage migration failed: copy failed: command '/usr/bin/qemu-img convert -p -n -f raw -O raw /dev/storage01/vm-109-disk-0 /dev/bkp/vm-109-disk-0' failed: exit code 1

I'll try to move to one iSCSI driver from FreeNAS.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!