Array for Important Data + Pool as Bulk Storage

Due to space (and noise) constraints I have my server in a 4U chassis which is shallow in depth. Due to this I have gone with 2x5.25 bays hosting 12x2.5 SSD slots and internal 3x3.5 HDD slots.

My intent is/was to set up the 12 SSDs as an array with 2x parity disks for important data (photos, docs, etc) and the 3 HDDs as a bulk storage array with 1x parity for data that doesn't matter (movies, raw GoPro footage etc).

I am keen to use unRAID as it allows for mixings sizes and adding drives as you need to increase the volume size. Also losing a drive or two doesn't cost the entire array, just what was on the dead disk.

Turns out unRAID can only do one array and pools are for "cache".

Is there any reason to NOT use the pool function for the HDDs in RAID1? I know it's a statistical certainty that I will lose the entire pool one day with large spinning drives in that configuration. Data to be stored on this pool is low importance and possibly won't even be backed up.

Appreciate any critique of my concept.

NB drives yet to be purchased, presently spinning up an unRAID VM and using smaller capacity spare drives to test the system before spending up on the final drive arrangement. Intent is probably something 12x2TB SSDs and 3x20TB HDDs.

Posted Jun 8, 2023, 5:47 PM UTC

26
RiffSphere•

First: Highly suggest against an array of ssds. The way trim works, parity will break. Many (of the cheap, like lsi92xx) hbas don't like ssds either. 6.12 brings zfs, but you'd give up on yhe expanding unraid brings.

Other than that, it's all fine. set cache to prefer (to still have overflow if it does fill up) or only, just like appdata should be.

The way cache works changes in 6.12, then you can set the pool as only storage.

As always, you ate limited by the setup, as you say. A pool without parity has no parity ofcourse, and raid if more dangerous than how the array works.

3
JugglesChainsawsOP•

Ah. Interesting, had no idea about the trim issue. Intent is to go SSDs due to space constraint. Would I be better off using SSDs in a pool in RAID1 and the 3 HDDs in an array with parity?

Not keen on 2.5in HDDs, the drives sit awful close together and I imagine heat/vibration would be an issue with the backplane I am using.

I have an LSI 9300-16i for a HBA. Whats the issue with the LSI's and SSDs?

Definitely not keen on ZFS, performance is not a huge concern for the system and the increased flexibility of unRAID's methods are very appealing.

1
RiffSphere•

Raid1 is mirror, think you want raid5 or 6 or 10. Not a fan of it. Don't think you can expand them either.

Not sure what the exact issue is anymore. I think it was also trim related, and I always use mobo ports for ssds. I think it was 92xx (sas2008), 93xx is fine.

1
-O-mega•

you can use any disks as Pool (cache) with BTRFS in Raid 1 and setup a share with Cache only (select the right pool). I have a Array for Massdata and 2 Pools with SSDs. One with NVME SSDs for VMs and one for Docker, Share Cache)

1
JugglesChainsawsOP•

Cheers. In playing with the settings I noted that I -could- do everything I wanted (albeit different to how I thought I would) but, being unfamiliar with unRAID, I am not sure if I -should-.

Sounds like your doing something similiar albeit reversed. Perhaps I should consider an array for spinning rust and a pool for the SSDs based on the relative reliablity of the two mediums.

1
-O-mega•

The problem with SSDs is that TRIM does not work in an array. Your SSD array will become slow sooner or later. Personally, I only use SSDs for data that needs to be available quickly or when I don't want my array to spin up. My most important data is on the array and is protected by parity. I have 6x 6TB data disks and a 10 TB parity drive. All of my spinning disks are enterprise grade. I back up my most important data to the cloud (encrypted) with a backup tool and also to a USB disk.
My pools are each a BTRFS Raid 1 with 2 disks per pool. I check the FS once a month and I have a custom script that checks the BTRFS stats hourly for errors. If you have a share and switch it to Cache Preferd, Unraid will leave the data on the SSD pool as long as there is space. The whole thing is realized by the mover, or new files automatically land on the pool. Of course you can also set the share to Cache Only, but then the Mover will not copy any files to the pool. So if you need to migrate a share from an array to a pool, first switch to Cache Preferred, start the mover and then switch the share to Cache Only. I just had a bad SSD in a pool, it was no problem to swap the disk.

2