Hello,
i am trying to restore an image which was created on another Proxmox System.
The image contains millions of very small files and i had to create a seperated ZFS volume with a smaller block size (2k).
I accidentally tried to restore the image on my usual ZFS volume (hddtank) and the system crashed during the restore. Something happened with the free space and i am getting only "out of space" error messages when i try to start the restore process again.
Restore:
I am not really sure how to read the error message. Which file system is exactly out of space? And what happened to the free space when the restore process crashed?
Thanks.
i am trying to restore an image which was created on another Proxmox System.
The image contains millions of very small files and i had to create a seperated ZFS volume with a smaller block size (2k).
I accidentally tried to restore the image on my usual ZFS volume (hddtank) and the system crashed during the restore. Something happened with the free space and i am getting only "out of space" error messages when i try to start the restore process again.
Code:
root@prox12 /var # zfs list
NAME USED AVAIL REFER MOUNTPOINT
hddtank 3.18T 343G 96K /hddtank
hddtank/vm-101-disk-2 103G 433G 12.8G -
hddtank/vm-101-disk-3 4.13G 345G 2.08G -
hddtank/vm-101-disk-4 8.25G 351G 268M -
hddtank/vm-101-disk-5 198G 355G 186G -
hddtank/vm-103-disk-1 66.0G 404G 4.73G -
hddtank/vm-104-disk-1 66.0G 391G 17.3G -
hddtank/vm-107-disk-1 66.0G 408G 811M -
hddtank/vm-107-disk-2 132G 475G 14.1M -
hddtank/vm-107-disk-3 264G 556G 50.9G -
hddtank/vm-107-disk-4 264G 600G 6.36G -
hddtank/vm-110-disk-1 528G 817G 54.3G -
hddtank/vm-112-disk-3 132G 435G 39.9G -
hddtank/vm-112-disk-4 198G 392G 149G -
hddtank/vm-112-disk-6 264G 363G 244G -
hddtank/vm-112-disk-7 264G 607G 93.3M -
hddtank/vm-113-disk-1 113G 431G 24.8G -
hddtank/vm-113-disk-2 288G 631G 7.02M -
hddtank/vm-113-disk-3 288G 631G 10.1M -
hddtank/vz 5.81G 44.2G 5.81G /hddtank/vz
ssd2tank 66.0G 395G 96K /ssd2tank
ssd2tank/vm-103-disk-1 8.25G 403G 100K -
ssd2tank/vm-103-disk-2 33.0G 422G 6.02G -
ssd2tank/vm-107-disk-1 4.13G 397G 2.08G -
ssd2tank/vm-112-disk-1 4.13G 396G 2.93G -
ssd2tank/vm-112-disk-2 16.5G 404G 7.97G -
ssdtank 211G 213G 19K /ssdtank
ssdtank/vm-101-disk-1 33.0G 227G 19.6G -
ssdtank/vm-103-disk-1 33.0G 243G 3.09G -
ssdtank/vm-104-disk-1 16.5G 224G 6.24G -
ssdtank/vm-107-disk-1 66.0G 265G 13.9G -
ssdtank/vm-108-disk-1 8.25G 220G 1.61G -
ssdtank/vm-112-disk-1 33.0G 224G 22.8G -
ssdtank/vm-112-disk-3 16.5G 227G 2.39G -
Restore:
Code:
Task viewer: VM 100 - Restore
OutputStatus
restore vma archive: lzop -d -c /mnt/storagebox/prox12/dump/vzdump-qemu-100-2017_08_12-17_46_26.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp18534.fifo - /var/tmp/vzdumptmp18534
CFG: size: 481 name: qemu-server.conf
DEV: dev_id=1 size: 107374182400 devname: drive-virtio0
DEV: dev_id=2 size: 274877906944 devname: drive-virtio1
DEV: dev_id=3 size: 274877906944 devname: drive-virtio2
CTIME: Sat Aug 12 17:46:28 2017
new volume ID is 'smallblocks:vm-100-disk-1'
map 'drive-virtio0' to '/dev/zvol/hddtank/vm-100-disk-1' (write zeros = 0)
temporary volume 'smallblocks:vm-100-disk-1' sucessfuly removed
TASK ERROR: command 'lzop -d -c /mnt/storagebox/prox12/dump/vzdump-qemu-100-2017_08_12-17_46_26.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp18534.fifo - /var/tmp/vzdumptmp18534' failed: zfs error: cannot create 'hddtank/vm-100-disk-2': out of space
I am not really sure how to read the error message. Which file system is exactly out of space? And what happened to the free space when the restore process crashed?
Thanks.