Dell H310, JBOD mode "hard error"

Sean Bruno sean_bruno at yahoo.com
Wed Aug 14 15:19:55 UTC 2013


> That change for d_maxsize looks okay but do you really want to get
> rid of d_open?  I assume this is a cut-n-paste type error and the patch
> (hand editted) should be:
> 
> Index: mfi_syspd.c
> ===================================================================
> --- mfi_syspd.c	(revision 254313)
> +++ mfi_syspd.c	(working copy)
> @@ -128,7 +128,8 @@
>  	sc->pd_disk->d_drv1 = sc;
> - 	sc->pd_disk->d_maxsize = sc->pd_controller->mfi_max_io * secsize;
> +	sc->pd_disk->d_maxsize = min(sc->pd_controller->mfi_max_io * secsize,
> +		(sc->pd_controller->mfi_max_sge - 1) * PAGE_SIZE);
>  	sc->pd_disk->d_name = "mfisyspd";
> 	sc->pd_disk->d_open = mfi_syspd_open;
>  	sc->pd_disk->d_close = mfi_syspd_close;
>  	sc->pd_disk->d_strategy = mfi_syspd_strategy;
>  	sc->pd_disk->d_dump = mfi_syspd_dump;
> 
Bah, that's why I always send patches for review.  Yes, the d_open
deletion was a typo.  Thanks for the update.


> BTW, has mfiutil been updated to create real JBODs versus the RAID per
> drive?  I know someone was talking about doing that.  A note on implementing
> it, it also requires JBOD to be enabled in the controller.  I'm not sure
> if all controllers support it.  I forget when I was playing with it.  I've
> always wondering if we should change the name for the syspd disk node
> but I left it for compatibility with LSI.  We could do an alias.  It is
> good in away that it doesn't create /dev/mfid* nodes so that it is easier
> to track bugs.

mfiutil doesn't seem to know how to deal with SYSPD (real JBOD) at this
time.  It only allows you to see the physical drives, nothing shows up
on the "show volumes" command.

From what I see the Dell H310 doing, there's not much there in the
system to do with the real JBOD devices.  I mean, there's no
creation/deletion or other RAID things to do here.

Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20130814/64c86dd0/attachment.sig>


More information about the freebsd-scsi mailing list