StorCLI - Operation not allowed.

dvc9

Explorer
Joined
May 2, 2012
Messages
72
Hey,
I have a AVAGO 3108 MegaRAID controller, in JBOD mode.

I have attached 3 new drives, but they dont show up, as new drives, in FreeNAS.
I belive its because of the way the adapter works, that is has to MARK each drive as JBOD.

When using StorCLI, // - storcli /cx show all
Then I get all settings n such, and I get the drive list.
This is the exiting part :

Code:
PD LIST :
=======

---------------------------------------------------------------------------------------
EID:Slt DID State DG      Size Intf Med SED PI SeSz Model                      Sp Type
---------------------------------------------------------------------------------------
9:0      14 UGood F  893.75 GB SATA SSD N   N  512B SAMSUNG MZ7WD960HMHP-00003 U  -   
9:1      25 UGood F  893.75 GB SATA SSD N   N  512B SAMSUNG MZ7WD960HMHP-00003 U  -   
9:2      17 UGood F  893.75 GB SATA SSD N   N  512B SAMSUNG MZ7WD960HMHP-00003 U  -   


So the drives are marked as UGood, and not JBOD.

So to Enable JBOD, I did try following :

Code:
root@storage01[~]# storcli /c0/e9/s0 set jbod
CLI Version = 007.0504.0000.0000 Nov 22, 2017
Operating system = FreeBSD 11.2-STABLE
Controller = 0
Status = Failure
Description = Set Drive JBOD Failed.

Detailed Status :
===============

-----------------------------------------------
Drive     Status  ErrCd ErrMsg                 
-----------------------------------------------
/c0/e9/s0 Failure   255 Operation not allowed.
-----------------------------------------------



root@storage01[~]# sudo storcli /c0/e9/s0 set jbod
Sorry, user root is not allowed to execute '/usr/local/sbin/storcli /c0/e9/s0 set jbod' as root on storage01.qvisten.no.



I belive therefor the storcli needs some permissions...
Have anyone else tested, and worked with this ?
 
Joined
Dec 29, 2014
Messages
1,135
I haven't had good luck using storcli on FreeBSD. It has been some time, but I recall having to build a DR-DOS boot disk and use storcli/megacli there to make it work. You could also try making the changes in the controller BIOS. My hazy recollection is that I had to use storcli/megacli to enable JBOD at the controller level.
 

dvc9

Explorer
Joined
May 2, 2012
Messages
72
Hey,
so the BIOS directly on the controller did work.
But I needed to "enable" the disks, then set them into JBOD.

So a friend came up with a command that I tested on the other drives.

Code:
storcli /c0/e9/s0 start erase simple


And that did the trick,
if not simple worked, then I just removed simple.

After that the #DG# F Lages where removed, and the drive could be stetted to JBOD

#one new thing to learn.
 
Top