Jump to content
On 6/29/2019 at 11:51 PM, Livesundersink said:

I am currently setting up a file server and i was wondering how zfs works with raid controllers as i may be using one with a pair of ssd's to use as a cache, but i am in need of advice as to whether this is something I should or should not do

You need to either use a true HBA (or other direct drive connection like a SATA port on the motherboard), or you need to ensure the RAID Controller is in IT mode (initiator target - which is “HBA” mode, basically). 

 

You technically can use a RAID Controller in IR mode (standard RAID firmware), but FreeNAS will not be able to tell proper drive health or stats, so you’re at larger risk for unexpected failures. 

For Sale: Meraki Bundle

 

iPhone Xr 128 GB Product Red - HP Spectre x360 13" (i5 - 8 GB RAM - 256 GB SSD) - HP ZBook 15v G5 15" (i7-8850H - 16 GB RAM - 512 GB SSD - NVIDIA Quadro P600)

 

Link to post
Share on other sites

You do not want to use a RAID controller with ZFS, ZFS likes direct access to the drives. Use either an HBA or a RAID card that has been flashed to IT mode.

 

For the application of a File Server don't waste your time with an SSD cache. For read operations ZFS uses system RAM for frequently accessed files. For writes a cache will only work to accelerate synchronous operations. File Server operations are primarily asynchronous. The SSD will only take in data as fast as the pool can accept it making using it worthless.

Link to post
Share on other sites

21 hours ago, alex75871 said:

Don't. Use. RAID. Controller.

 

HBA or MB SATA in pass-through mode only.

RAID controllers can be used, as long as they are running the IT Mode Firmware. In such a case, they're effectively an HBA.

 

Aside from that, if the Firmware is IR Mode, it will still work, but none of the SMART data will be properly readable by FreeNAS, so it's risky.

For Sale: Meraki Bundle

 

iPhone Xr 128 GB Product Red - HP Spectre x360 13" (i5 - 8 GB RAM - 256 GB SSD) - HP ZBook 15v G5 15" (i7-8850H - 16 GB RAM - 512 GB SSD - NVIDIA Quadro P600)

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×