24x2TB ZFS - Is this right?

jcbhltz22

Member
Mar 8, 2021
10
0
6
34
Hello,

I am looking to setup a 24x2TB ZFS RaidZ2 array for maximum capacity. Performance is of minimal concern. I have done a decent amount of research but I just want to make sure I have optimal settings.

In the Proxmox interface I have block size set to 16K as I noticed the default 8K was using almost 3x as much storage (5GB VM was using ~14GB).

zpool create -f -o 'ashift=12' tank raidz2 /dev/sdp /dev/sdn /dev/sds /dev/sdi /dev/sdm /dev/sdx /dev/sdg /dev/sdu raidz2 /dev/sdh /dev/sdo /dev/sdk /dev/sda /dev/sdv /dev/sdb /dev/sdt /dev/sdq raidz2 /dev/sdd /dev/sdf /dev/sdc /dev/sdj /dev/sde /dev/sdw /dev/sdl /dev/sdr

(this is for testing, will change to diskID)
 
1. use disks name from /dev/disk/by-id/
2. use raidz3
Thanks for the reply! I mentioned that I was testing and would be using disk ID when running production. Why would I use RaidZ3 over RaidZ2 when my goal is capacity? Im not concerned with more redundancy or performance.
 
Thanks for the reply! I mentioned that I was testing and would be using disk ID when running production. Why would I use RaidZ3 over RaidZ2 when my goal is capacity? Im not concerned with more redundancy or performance.
you have many (24) disks in pool.
zfs scrub or silvering operations may drop disks (due to bad sectors on disks) from pool.