SSD Pools - Use cases?

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
You (opener) appear to need some basics, look in my signature.

Edit: Specified subject as requested.
 
Last edited:

dgrab

Dabbler
Joined
Apr 21, 2023
Messages
26
I wouldn't say so.
If you loose/corrupt metadata writes to your hdd vdevs or loosing them to the special device vdev of SSDs is equally catastrophic.
One may of course argue that any added complexity is a way of additional points of failure.

I'd say the main reason special vdevs are not as popular around the forums is there is not much use for them for most people. Add a bit more complexity and additional hardware in typically already <device clogged servers> where drive slots needs to be economized, it oftentimes makes little sense. In some data configurations even less sense. It all depends on the circumstances.
Understood.
A special vdev can hold metadata, dedup data and small io. With the small io "caching" feature you can control via recsize whether a whole filesystem ist forced to a special vdev. (Beware, it should have the same ashift as the pool!)

So ... in a "regular" use case (without special vdev) metadata is (a) distributed (over multiple disks relative to the redundancy level) to a reserved area on the pool in (b) multiple copies (again relative to the redundancy level). How much redundancy has a single "special vdev" built from a single drive? I'd not go below tripple mirror. (Doing backups is mandatory anyway.)


Well. Yeah. But it's just hardware. Imagine, it's crashing from a dying PSU or a kernel crash or ... (fill in anything you could think of). If you don't care, fine. Do, whatever you want. I would have been glad, somebody told me to be careful, when I did my first ReiserFS-based file server.
Don't get me wrong, I'm grateful for all the advice I'm getting. I'm just trying to find the right balance of what works for me personally. I'm burning in 4x12TB HDDs right now and I still haven't decided whether to configure mirrors or raidz1.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

awasb

Patron
Joined
Jan 11, 2021
Messages
415

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Both is a PITA. Mirrors will store everything just fine but are not spacewise efficient. RAIDZ may not be spacewise efficient when used for block storage due to the way ZFS handles RAIDZ with padding and overhead. The best way is really two pools, one for each stprage use case.
 

dgrab

Dabbler
Joined
Apr 21, 2023
Messages
26
Both is a PITA. Mirrors will store everything just fine but are not spacewise efficient. RAIDZ may not be spacewise efficient when used for block storage due to the way ZFS handles RAIDZ with padding and overhead. The best way is really two pools, one for each stprage use case.
I think I'm finally starting to get it now, although my brain's a bit fried after reading primers and guides for the last two hours.

Since databases and VM images benefit more from high IOPS/random readwrite, along with small recordsize datasets... common sense would dictate they are best stored on a pool with high-performance SSDs?

One pool for data storage: raidz1 vdev of 4x12TB Seagate Ironwolf Helium HDDs and 1M recordsize. Add in a special mirror (x2 SSDs)
One pool for databases and VM images: SSD mirror

Hopefully this train of thought is a little less stupid.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Looks fine although I personally would not go with anything less than RAIDZ2 - especially at 12 disks wide. I would not trust all 11 remaining disks during a full resilver ... one more failure and the pool is gone. Make sure to have a backup.
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
Looks fine although I personally would not go with anything less than RAIDZ2 - especially at 12 disks wide. I would not trust all 11 remaining disks during a full resilver ... one more failure and the pool is gone. Make sure to have a backup.
I believe OP intends to use 4 drives
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
my brain's a bit fried after reading primers and guides for the last two hours.

Excellent. You'll do well, most likely. We're sorry about the frying but there's a lot of information and knowledge to convey.

Hopefully this train of thought is a little less stupid.

Stupid is only when you charge ahead with a bad plan despite people trying to give you help.

One pool for data storage: raidz1 vdev of 4x12TB Seagate Ironwolf Helium HDDs and 1M recordsize. Add in a special mirror (x2 SSDs)
One pool for databases and VM images: SSD mirror

See, that's not stupid. It may not be perfect but it's significantly down the right path. (There may not be any "perfect" by the way).
 
Top