Error creating RAIDZ2

WhiteTiger

Member
May 16, 2020
86
2
13
Italy
With a fresh install of Proxmox, creating RAIDZ2 on 4HDD I got this error.

Code:
# /sbin/zpool create -o ashift=12 RZ2-4x1TB raidz2 /dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y6NJ4S74 /dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y2UP55YV /dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y0UF11ZN /dev/disk/by-id/ata-WDC_WD10EZEX-00WN4A0_WD-WCC6Y3ZDUHJ8
# /sbin/zfs set compression=on RZ2-4x1TB
# systemctl enable zfs-import@RZ2\x2d4x1TB.service
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import@RZ2\x2d4x1TB.service -> /lib/systemd/system/zfs-import@.service.
TASK ERROR: 400 Result verification failed config: type check ('object') failed

Also I see that the ZFS capacity is 3.6TB.
Being 4 HDDs of 1TB each, it means that RAIDZ2 was not actually created.
 
Last edited:
TASK ERROR: 400 Result verification failed config: type check ('object') failed
This doesn't mean that the pool wasn't created.

Also I see that the ZFS capacity is 3.6TB.
Being 4 HDDs of 1TB each, it means that RAIDZ2 was not actually created.
The z2 means, on each write ZFS will create two parities. And only when data is written, that's why the pool will show 3.6TB when empty.

Anyway, if you intent to host VM/CT on it, then better use RAID10 instead. It will give you better IOps.
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_installation_as_root_file_system
 
Keep in mind to change the volblocksize before creating your first VM or you will waste alot of space due to padding overhead.
If your pool uses ashift=12 your volblocksize need to be atleast 64K. With the default value of 8K you will only be able to use 1/3 of your total capacity and not 1/2 of it.
And also keep in mind that a ZFS pool shouldn't be filled more than 80-90% or it will get slow. So without changing the volblocksize only about 1TB of capacity is really usable.
 
Last edited:

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!