Warning, had trouble writing out superblocks; proxmox v4.1
Posted on January 22, 2016 • 1 minutes • 139 words • Suggest Changes
A small “bugfix” on proxmox 4.1 with ZFS below it, on a clean install, proxmox will fail to make a lxc (linux container). One has to create a zfs storage before containers can be made … The error during creation:
Warning, had trouble writing out superblocks.TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=0:0' /var/lib/vz/images/100-disk-1.raw' failed: exit code 144
The solution :
Datacenter -> Add ZFS
- id : whatever
- zfs pool : I took rpool/ROOT but you are free in this as far as I could see
- I did not restrict nodes, although I would not use it other then local.
- Enable : on
- Thin provision : no clue, I left it unmarked.
Then during the lxc creation select lxc_storage (this is the id you gave)
// update 7/04/2017
-
When importing from console :
pct restore $container_id container.tar.lzo -storage lxc_storage