ZFS SR in XCP-ng


I am trying to set 4 ssd disks in raidz. Could anyone tell me if this command look correct to you?

zpool create -o ashift=12 -m /mnt/zfs tank raidz /dev/disk/by-id/ata-THNSF8800CCSE_77IS1087TBUT /dev/disk/by-id/ata-THNSF8800CCSE_77NS108OTBUT /dev/disk/by-id/ata-THNSF8800CCSE_77IS10Q5TBUT /dev/disk/by-id/ata-THNSF8800CCSE_77BS10KATBUT

Thank you

I’m assuming you’re asking this because you are having an issue with the command? If so you should share the error. It looks fine to me, only thing I wonder is about “raidz”, I’ve always specified how much parity there should be, like “raidz1”.

@brwainer thank you. I was asking because I could see the SR been created. It turned out I need to create the storage on top of that zfs pool. Reading the manual to the end did help :frowning: I missed the second part.
All sorted now.

Thank you