Score:1

LXD on ZFS on LVM on H/W RAID 10

in flag

I have a Dell R540 with PERC H730P running RAID 10 over 12 DISK to the tune of ~22TB. I want to run various applications/services in LXD containers.

I understand that ZFS is preferred for LXC storage pools, and that ZFS prefers direct access to raw disks.

My naive approach was to configure Ubuntu with LVM over the H/W RAID, and let LXD init with default settings (ZFS.img on EXT4 on LVM ...). My reading is that this will 'work fine' however isn't optimal performance / protection-wise.

Could someone provide some guidance the various options I have here and which would get the best of most worlds? Thanks!

Score:2
cn flag

If you want to benefit from all ZFS advantages, you need to reinstall the server. Change the HBA configuration from RAID to JBOD (disable RAID). Make sure you can see all disks from the OS. Make sure you can see them as normal disk, not virtual disks exposed by the RAID controller. You should be able to see the hardware details of the disk, like vendor, model, serial number, maybe SMART attributes.

Check the disk sector size if it's 512, 4k or 8k. Create the pool with proper ashift value based on max sector size of the current disks and the disks you intend to add in the pool.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.