mfi freebsd7

Vince Hoffman jhary at unsane.co.uk
Tue Jun 3 09:12:48 UTC 2008


kalin m wrote:
> sorry for the double posting....  just to update:
> 
> i installed also the linux-megamgr same result:
> Failed to open driver node /dev/megadev0
> 
> after linking megadev0 to mfi0 it can not see the version...     it gets
> more and more pathetic by the minute...
> 

odd that it wouldnt install as it did for me just now. Is your ports
tree up to date? I'm guessing not since the latest version reference in
ports is 1.01.40 and you found and got the 1.01.09 rpm/zip
try updating your ports to the latest tree (portsnap is my method of
choice but csup works fine too :) then try
cd /usr/ports/sysutils/linux-megacli && make install clean
Be sure to pay attention to the post-install message as it tells you
about whats needed in the way of kernel modules and sysctl variables as
well as what periodic config is available.


We do have a server at work using the LSI Logic / Symbios Logic MegaRAID
SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0
config, each VPS running web/mail/ftp for a number between 1 and 100
websites, so they seem to perform well enough, this is a linux server
though.
	If you've been sold a RAID1 array i'd imagine thats what you have
unless you have reason to believe otherwise. It will appear as a singe
block device (/dev/mfid0) to the operating system though as you have see.


Vince



> 
> 
> 
> 
> kalin m wrote:
>> thanks Vince...  i didnt wanted to install the linux base because a
>> lot of kids will be running some 'cool' boards or blogs that probably
>> have cool linux holes too. but just for the hell of it and for he
>> purpose to get to the controller i did. it took a while to find the
>> Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the
>> LSI site (anymore) either..  anyway after a lot of rpm downloads and
>> patching and variable changing and fs mountings i get this:
>>
>> # /usr/local/sbin/megacli -adpCount
>>                                    ERROR:Could not detect controller.
>>
>> Controller Count: 0.
>>
>>
>> pretty neat system...
>>
>>
>> now what?!
>>
>>
>>
>>
>> Vince Hoffman wrote:
>>> kalin m wrote:
>>>> megarc, right... read about it..  here:
>>>>
>>>> # megarc -AllAdpInfo help
>>>> usage :
>>>>     cmd -AllAdpInfo
>>>>       : prints info of all cards
>>>>
>>>>
>>>> .....  ok .....
>>>>
>>>> # megarc -AllAdpInfo
>>>>
>>>>   
>>>> **********************************************************************
>>>>          MEGARC MegaRAID Configuration
>>>> Utility(FreeBSD)-1.04(03-02-2005)             By LSI Logic Corp.,USA
>>>>   
>>>> **********************************************************************
>>>>      [Note: For SATA-2, 4 and 6 channel controllers, please specify
>>>>      Ch=0 Id=0..15 for specifying physical drive(Ch=channel,
>>>> Id=Target)]
>>>>
>>>>    Type ? as command line arg for help
>>>>
>>>>    No Adapters Found     Error: No MegaRaid Found
>>>>
>>>>
>>>> ?!?!?!  does that mean that there is no raid?  why then the df
>>>> output? the machine is supposed to have 4 250gig SAS drives.
>>>>
>>>
>>> Its more likely that megarc doesnt support the newer controllers
>>> which is a shame. you might have more luck with
>>> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID
>>> SAS, I wish they would make the util open source though. Will mean
>>> you need the linux-base port installed and linux.ko loaded.
>>>
>>> A RAID1 config shoudl suit a busy webserver well.
>>>
>>> Vicne
>>>
>>>
>>>
>>>>
>>>> thanks...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Vince Hoffman wrote:
>>>>> kalin m wrote:
>>>>>> hi all...
>>>>>>
>>>>>> a hosting facility build a new dedicated server for me and looking
>>>>>> at the dmesg i see:
>>>>>>
>>>>>> mfi0: <LSI MegaSAS 1078> port 0xec00-0xecff mem
>>>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0
>>>>>> on pci1
>>>>>> mfi0: Megaraid SAS driver Ver 2.00
>>>>>>
>>>>>> for df i get:
>>>>>> Filesystem       Size    Used   Avail Capacity  Mounted on
>>>>>> /dev/mfid0s1a    496M    197M    259M    43%    /
>>>>>> devfs            1.0K    1.0K      0B   100%    /dev
>>>>>> /dev/mfid0s1e    496M     12K    456M     0%    /tmp
>>>>>> /dev/mfid0s1f    661G    636M    608G     0%    /usr
>>>>>> /dev/mfid0s1d    8.7G    1.4M    8.0G     0%    /var
>>>>>>
>>>>>>
>>>>>> i asked for raid1. i cant find too much information about the mfi
>>>>>> driver. just that it works with freebsd 7.
>>>>>>
>>>>>
>>>>> you might want to look at sysutils/megarc and possibly
>>>>> sysutils/linux-megamgr so you can more closely monitor/investigate
>>>>> your array.
>>>>>
>>>>> Vince
>>>>>
>>>>>> i'll keep looking but - has anybody successfully deployed
>>>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very
>>>>>> busy web server?
>>>>>> is there any loss in performance using that hardware in RAID1?
>>>>>> any performance loss in RAID1 at all?
>>>>>>
>>>>>>
>>>>>> thanks...
>>>>>>
>>>>>> _______________________________________________
>>>>>> freebsd-questions at freebsd.org mailing list
>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-questions-unsubscribe at freebsd.org"
>>>>>
>>>>> _______________________________________________
>>>>> freebsd-questions at freebsd.org mailing list
>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>>> To unsubscribe, send any mail to
>>>>> "freebsd-questions-unsubscribe at freebsd.org"
>>>> _______________________________________________
>>>> freebsd-questions at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>> To unsubscribe, send any mail to
>>>> "freebsd-questions-unsubscribe at freebsd.org"
>>>
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscribe at freebsd.org"
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list