Comment on Raid Z2 help
avidamoeba@lemmy.ca 1 week ago
I do:
sudo zpool create \ -o ashift=12 -O acltype=posixacl -O compression=lz4 \ -O dnodesize=auto -O normalization=formD -O relatime=on \ -O xattr=sa \ mypool \ raidz2 \ wwn-0x5000cca284c06395 \ wwn-0x5000cca295e115f3 \ wwn-0x5000cca2a1ef9c90 \ wwn-0x5000cca295c03910 \ wwn-0x5000cca29dd216b0
I’m then going to optimize recordsize depending on the workload in datasets. E.g. Immich db might use 8K or 16K recordsize while the library dataset where the files are might be larger so that search is faster. Etc.
a_fancy_kiwi@lemmy.world 1 week ago
Thank you for this
avidamoeba@lemmy.ca 1 week ago
The acl, norm, xattr options are all to make ZFS behave like a Linux filesystem.