special_small_blocks not working as intended #14257
-
Hello! I have a strange behavior using special device and special_small_blocks property on my storage pool. OS: Debian Bullseye (Proxmox 7.3-3) zpool status dpool:
zfs get special_small_blocks:
zpool list -v:
zdb -Lbbb dpool:
Docs says: As you can see i certanly have 17.8G (32K blocks+metadata) allocated to special device mirror, but according to histogram there must be at least 38.3G+metadata allocated. This pool was freshly created with special_small_blocks property set to 64K. After this i run send | recv snapshot from old pool and there was no special device in old pool so property was not set. To be sure that old pool props will not affect new pool i also overrided them with "-o" option, full command to move data was What i did wrong? Or it's a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
My immediate thought would be to ask what The former because zvol data blocks are ineligible for landing on special vdevs ever, and the latter because until a fix went in a while ago, |
Beta Was this translation helpful? Give feedback.
My immediate thought would be to ask what
zfs get type,recordsize dpool/data dpool/store
and what, in full,zfs version
says.The former because zvol data blocks are ineligible for landing on special vdevs ever, and the latter because until a fix went in a while ago,
special_small_blocks
was, IIRC, doing< recordsize
not<= recordsize
, though that should be well before 2.1.6.