5

any storage controller that can do RAID-0 can do JBOD?

Am looking for a storage solution using ZFS, currently have Dell Perc5i and 6i not sure about their capabilities for JBOD.

does ZFS really only need JBOD for RAIDZ, RAIDZ2 etc?

JMS77
  • 1,275
  • 5
  • 27
  • 44

4 Answers4

7

There's a very important distinction between JBOD and Raid-0 that I haven't seen anyone mention: when a disk fails in a single-disk-Raid-0, it means that that whole Raid-0 has failed, and that means that you can't replace the failed disk without rebooting the server (unless you are able to use a raid utility like MegaCli, but that doesn't seem to be very easy). If a disk fails in JBOD mode, you should be able to hot-swap the drive and ZFS will rebuild the ZFS pool.

See this thread: MegaRAID JBOD substitute

Another thing to keep in mind, is that you should technically be using a raid-enabled drive (like WD Caviar RE or Barracuda ES drives) in JBOD mode. If not, the raid controller may erroneously detach a disk that is busy trying to repair itself. But at least you'll be able to hot-swap it.

From wikipedia page on ZFS: "Note that hardware RAID configured as JBOD may still detach disks that do not respond in time; and as such may require TLER/CCTL/ERC-enabled disks to prevent drive dropouts: [29]"

Peter Valadez
  • 101
  • 1
  • 5
4

The Perc5i and Perc6i are lame in this respect (no JBOD) and thus not particularly well suited for ZFS. Others have had good luck with the Dell SAS 6i/r as it can be acquired relatively cheaply (~$150) and I believe can operate in non-raid JBOD mode. I'd give Dell a ring and ask first, since I've never used it that way myself. Don't mention ZFS when you call, just ask them if the SAS6i can present drives without any RAID protection or whether they must be part of a RAID0/1 virtual disk.

ZFS wants your disks, not an abstracted 'virtual disk' or LUN. With any configuration (single drive/mirrors/stripes/raidz) ZFS will use your CPU to calculate block checksums for data integrity. With RAID-Z/RAID-Z2, ZFS additionally computes parity blocks using your CPU (RAID5/RAID6 on a PERC5/PERC6 has an onboard chip for this). If you do mirroring, ZFS doesn't need to calculate parity and thus has lower cpu overhead (only checksums, no parity) yet since it has access to multiple copies of the data ZFS will notice any corrupted blocks (on read or scrub) and self heal.

notpeter
  • 3,505
  • 1
  • 24
  • 44
3

Yes, even non-RAID controller can do JBOD. This is even more basic than RAID-0.

wazoox
  • 6,782
  • 4
  • 30
  • 62
  • does this mean any RAID controller is good for ZFS? – JMS77 Jul 19 '10 at 09:36
  • Yes, if you plan to use RAID-Z. However RAID-Z is heavily taxing for the CPU. If you don't plan to use specific ZFS features, IMO hardware RAID is better. – wazoox Jul 20 '10 at 11:42
  • 2
    Sorry Wazoox, the Dell PERC 5i and PERC 6i don't support a passthrough or JBOD mode at all. Additionally, anytime you let ZFS store the data redundantly (not just RAIDZ, but Mirrors too) you benefit from ZFS end-to-end checksumming and it's ability to catch and silently recover from bit errors. When you abstract the mirrored disks away from ZFS using your raid controller, ZFS can only notify of block corruption and can't self heal. – notpeter Jul 22 '10 at 22:54
  • 1
    @notpeter whilst there's no direct JBOD passthrough, you can create a RAID0 array for each drive, which is essentially the same thing. – Mark Henderson Jul 23 '10 at 04:47
  • @notpeter please notice that all true RAID controllers allow scrubbing, which basically comes free (it doesn't hinder performance significantly), which isn't the case with RAID-Z. – wazoox Jul 23 '10 at 10:30
  • @wazoox this isn't true at all. The perc h710 from Dell, for example, is an extremely high performance raid card with no dedicated jbod compatibility. – Hellreaver Aug 28 '19 at 07:41
  • @Hellreaver AFAIK Perc cards in recent years are just rebadged Broadcom/LSI controllers. They do JBOD just fine. And they also can be reconfigured as HBAs, which support only JBOD. – wazoox Aug 29 '19 at 13:31
  • @wazoox here's what I know - I have a server with an h710 and one with an h710 mini and neither can do jbod. – Hellreaver Aug 29 '19 at 14:44
  • @Hellreaver that's an artificial and stupid limitation of the Dell firmware. the LSI firmware does JBOD fine on the 2108/2208 (which is the very same hardware, broadcom-brand). – wazoox Aug 30 '19 at 15:08
  • @wazoox yeah, I figured. Do you know of any lsi controllers that fit in the integrated port on systems such as the r720? – Hellreaver Aug 30 '19 at 15:21
  • I don't know, I suppose any PCIe low-profile should work. Alternatively, it may be possible to flash the controller with the ordinary LSI firmware. – wazoox Aug 31 '19 at 16:04
2

JBOD is 'Just a Bunch Of Disks' and is essentially non-RAID. It's essentially using the RAID controller as just a pure disk controller. I believe that ZFS does its own internal storage management, which is why this is a valid thing to do with ZFS. Note that 'valid' is not the same as 'ideal'; it depends a bit on how much redundancy you want.

pjz
  • 10,497
  • 1
  • 31
  • 40