ZFS How to set zvol parameters for Windows guest in bhyve?

Use zfs-set(8) to set properties for ZFS datasets and zvols. The zfs-set(8)() and zfsprops(7)() manpages will describe the details. Of particular interest to you is the volblocksize argument. It is not retroactive. You cannot change a zvol's blocksize after it has been written.
 
Use zfs-set(8) to set properties for ZFS datasets and zvols. The zfs-set(8)() and zfsprops(7)() manpages will describe the details. Of particular interest to you is the volblocksize argument. It is not retroactive. You cannot change a zvol's blocksize after it has been written.
Sorry, my English is not good. I want to know what volblocksize is better for a windows guest.
 
Sorry, my English is not good. I want to know what volblocksize is better for a windows guest.
I don't know that answer. I used the default for my zpool (16K) for my W11 VM. NTFS uses a default block size of 4K but can go as high a 2 M. I suppose if you want better performance you should increase the block size. If you want to reduce the wear on your SSD you should set the volblocksize to the same as the Windows block size. That's a decision you would need to make.
 
Back
Top