Two ZFS pools storage same name different block size?

harmonyp

Member
Nov 26, 2020
196
4
23
47
Both of my ZFS storage need to have the same name however they also need to have different block size settings. How am I able to modify it so each node has their own block size settings but with the same name "zfs"

/etc/pve/storage.cfg

Code:
zfspool: zfs
    pool zfs
    blocksize 8k
    content rootdir,images
    mountpoint /zfs
    nodes node1,node2
    sparse 1
 
that's not possible, storage definitions are always cluster-wide.
 
because PVE does not know about the ashift, but the volblocksize of newly allocated zvols is a storage property handled by PVE, and those definitions are cluster-wide as I said.