Question 2: I understand That I need to run JBOD but not quite sure on how to do that..
[This is from memory, so may be slightly off.]
You'll get a console message like "Press Control-R to enter the configuration utility". You'll normally end up on a teal-colored screen with lots of menus. Arrow up to "Controller 0". Press F2 for the menu. If the disks or controller have been used previously, I would select "Clear config" first. Now select "Create new VD". Leave the RAID mode at the default, RAID0. Arrow down and select the first drive with the spacebar. Arrow over to the Volume Name box. Enter something that describes the
physical location, like "Slot0". Arrow down to the Advanced Options box and check it. Arrow down and check Initialize and then arrow to the OK box and press enter. Wait for the "initialization complete" message (it is fast). Repeat for each of your physical drives. Exit the utility and do control-alt-delete to reboot (it will remind you).
Most of the PERC controllers you will run into in an R610 will be
mfi(4) devices. The driver is good and solid. When you boot, you'll see messages like this:
Code:
mfi0: <Dell PERC H700 Integrated> port 0xfc00-0xfcff mem 0xdf1bc000-0xdf1bffff,0xdf1c0000-0xdf1fffff irq 32 at device 0.0 on pci2
mfi0: Using MSI
mfi0: Megaraid SAS driver Ver 4.23
mfi0: FW MaxCmds = 1008, limiting to 128
mfid0 on mfi0
mfid0: 139392MB (285474816 sectors) RAID volume 'SysDisk' is optimal
mfid1 on mfi0
mfid1: 1907200MB (3905945600 sectors) RAID volume 'Slot0' is optimal
mfid2 on mfi0
mfid2: 1907200MB (3905945600 sectors) RAID volume 'Slot1' is optimal
mfid3 on mfi0
mfid3: 1907200MB (3905945600 sectors) RAID volume 'Slot2' is optimal
mfid4 on mfi0
mfid4: 1907200MB (3905945600 sectors) RAID volume 'Slot3' is optimal
mfid5 on mfi0
mfid5: 1907200MB (3905945600 sectors) RAID volume 'Slot4' is optimal
mfid6 on mfi0
mfid6: 1907200MB (3905945600 sectors) RAID volume 'Slot5' is optimal
mfid7 on mfi0
mfid7: 1907200MB (3905945600 sectors) RAID volume 'Slot6' is optimal
mfid8 on mfi0
mfid8: 1907200MB (3905945600 sectors) RAID volume 'Slot7' is optimal
mfid9 on mfi0
mfid9: 1907200MB (3905945600 sectors) RAID volume 'Slot8' is optimal
mfid10 on mfi0
mfid10: 1907200MB (3905945600 sectors) RAID volume 'Slot9' is optimal
mfid11 on mfi0
mfid11: 1907200MB (3905945600 sectors) RAID volume 'Slot10' is optimal
mfid12 on mfi0
mfid12: 1907200MB (3905945600 sectors) RAID volume 'Slot11' is optimal
If you want to run
sysutils/smartmontools you will want to load the
mfip(4) (no man page, but trust me) driver, which will make the drives appear as
/dev/passN devices for
smartd. If you are using SATA drives (as opposed to SAS), you will need to add "-d sat" to each entry in
/usr/local/etc/smartd.conf or it will complain.
Code:
mfip0: <SCSI Passthrough Bus> on mfi0
pass0 at mfi0 bus 0 scbus0 target 0 lun 0
pass1 at mfi0 bus 0 scbus0 target 1 lun 0
pass2 at mfi0 bus 0 scbus0 target 2 lun 0
pass3 at mfi0 bus 0 scbus0 target 3 lun 0
pass4 at mfi0 bus 0 scbus0 target 4 lun 0
pass5 at mfi0 bus 0 scbus0 target 5 lun 0
pass6 at mfi0 bus 0 scbus0 target 6 lun 0
pass7 at mfi0 bus 0 scbus0 target 7 lun 0
pass8 at mfi0 bus 0 scbus0 target 8 lun 0
pass9 at mfi0 bus 0 scbus0 target 9 lun 0
pass10 at mfi0 bus 0 scbus0 target 10 lun 0
pass11 at mfi0 bus 0 scbus0 target 11 lun 0
pass12 at mfi0 bus 0 scbus0 target 12 lun 0
pass13 at mfi0 bus 0 scbus0 target 13 lun 0
The volumes and controller can be managed with the
mfiutil(8) command, which is part of the base operating system. At a minimum, you will want to do
# mfiutil cache N enable to enable caching (N is the volume number).