Hello to all. I have some trouble to restore VM to a ceph. I can't understand the right parameters.
This is the VM profile
I also need to resize volume from 3,5TB to 1,2TB
I used this command line, but something was wrong (insufficient disk space, and this is not possible, so I think I was trying to restore on a small local disk):
I read the doc but still not understand which option I need. Can someone help me, please ?
EDIT:
Finally I found the right options (more simple than I was thinking):
This is the VM profile
Code:
arch: amd64
cores: 2
features: nesting=1
hostname: fs
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.254,hwaddr=E2:02:2A:AF:57:D2,ip=192.168.1.12/24,type=veth
onboot: 1
ostype: debian
rootfs: pool.1:vm-102-disk-0,size=3500G
startup: order=3,up=120,down=30
swap: 4096
unprivileged: 1
I also need to resize volume from 3,5TB to 1,2TB
I used this command line, but something was wrong (insufficient disk space, and this is not possible, so I think I was trying to restore on a small local disk):
pct restore 102 /mnt/pve/NFS_IMG/dump/vzdump-lxc-102-2021_09_21-22_50_36.tar.zst --pool pool.1 --rootfs volume 102 size 1200G
I read the doc but still not understand which option I need. Can someone help me, please ?
EDIT:
Finally I found the right options (more simple than I was thinking):
Code:
pct restore 102 /mnt/pve/NFS_IMG/dump/vzdump-lxc-102-2021_09_21-22_50_36.tar.zst --rootfs pool.1:1200
Last edited: