Proxmox ZFS restore container failed

Didier Misson

Member
Nov 30, 2016
16
1
21
64
Belgium
twitter.com
I want to move my contenaire LXC from Proxmox 5.3-7 (ext4) --> a new server Proxmox 5.3-11 in ZFS 2 x 450 GB NMVe.
(OVH server, install template Proxmox 5 ZFS)

  1. I backup a container from old server ext4
  2. scp to new server Proxmox FZS
  3. try to restore
FAILED !

Code:
Formatting '/var/lib/vz/images/324/vm-324-disk-0.raw', fmt=raw size=12884901888
mke2fs 1.43.4 (31-Jan-2017)
Discarding device blocks: 4096/3145728 done
Creating filesystem with 3145728 4k blocks and 786432 inodes
Filesystem UUID: 4c1d8663-cd2b-49e3-8242-3e3307b86ac3
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: 0/96 done
Writing inode tables: 0/96 done
Creating journal (16384 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: 0/96
Warning, had trouble writing out superblocks.
TASK ERROR: unable to restore CT 324 - command 'mkfs.ext4 -O mmp -E 'root_owner=0:0' /var/lib/vz/images/324/vm-324-disk-0.raw' failed: exit code 144

I read that ZFS cannot have backup file ?
Strange ?

How can I transfert y LXC container from old ext4 server to new ZFS server ?

Thanks. Didier
 
Hello,

I have exactly the same problem that Didier on the same type of OVH server.

How can I "use ZFS as storage type"?

Do I have to configure something in ZFS Proxmox?

Or add something to the "pct restore" command?

Thanks!