Re: [OmniOS-discuss] header/library mismatch
On Tue, Mar 15, 2016 at 3:51 PM, Ben Summerswrote: > > > On 15 Mar 2016, at 15:48, Ben Summers wrote: > > > > > >> On 15 Mar 2016, at 15:40, Peter Tribble > wrote: > >> > >> Currently having a minor issue building software. > >> > >> As mentioned yesterday, I'm building on a slightly older image, so that > I > >> know that any binaries I generate will run on all systems (which are > newer). > >> > >> The snag is that the install media doesn't have the headers. And if I > >> > >> pkg install system/header > >> > >> then it installs the latest version in the repo. It doesn't look like > there > >> are any versioned constraints to tie the version of the header package > >> to the installed libraries. > > > > What if you choose the latest version as of the release date of the iso, > and include the full version number in the pkg install command? > > > > > http://pkg.omniti.com/omnios/r151014/en/advanced_search.shtml?token=system%2Fheader=p=1=100=11%252C11-0.151014 > > (scroll down to see the interesting packages) > > > > pkg install system/header@0.5.11,5.11-0.151014:20150818T161043Z > > > > All a bit manual of course. > > > Actually I have a sneaking suspicion that this is what you meant by > "manual". > So what I'm actually using is the following, using a ksh associative array to map the installed version of the system/library package to the desired version of the system/header package. (It's a timestamp, so you can see that the two packages are only a few seconds apart.) typeset -A headermap headermap[20150402T175242Z]=20150402T175234Z headermap[20150417T182440Z]=20150417T182431Z headermap[20150727T054701Z]=20150727T054659Z headermap[20150818T161046Z]=20150818T161043Z headermap[20150913T201600Z]=20150913T201558Z headermap[20150914T195009Z]=20150914T195007Z headermap[20150929T225339Z]=20150929T225336Z headermap[20151112T210053Z]=20151112T210050Z if [ ! -f /usr/include/stdio.h ]; then SLVER=`pkg info system/library | grep FMRI: | awk -F: '{print $NF}'` RELVER=`pkg info system/library | grep FMRI: | awk -F@ '{print $2}' | awk -F: '{print $1}'` SHVER=${headermap[$SLVER]} if [ -n "$SHVER" ]; then pfexec pkg install pkg:/system/header@${RELVER}:${SHVER} else pfexec pkg install pkg:/system/header fi fi -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LSI3108
You’re the best :) Richard Jahnel Network Engineer On-Site.com | Ellipse Design 866-266-7483 ext. 4408 Direct: 669-800-6270 -Original Message- From: Matej Žerovnik [mailto:ma...@zunaj.si] Sent: Friday, March 18, 2016 3:28 PM To: Richard JahnelCc: Dan McDonald ; Fábio Rabelo ; omnios-discuss Subject: Re: [OmniOS-discuss] LSI3108 I tried diskmap.py on a SAS3 LSI card today and it works, I just neede to change the path to sas ircu utils so it runs sas3ircu instead of sas2ircu. Also, sas3ircu from lsi/avago page doesn’t work, you need an older version (5.00). You can find it on nexenta’s github: https://github.com/Nexenta/nza-userland/tree/master/nza-userland/components/sas3ircu/usr/sbin lp, Matej > On 03 Mar 2016, at 19:56, Richard Jahnel wrote: > > Speaking of which, does anyone have a diskmap.py that works with the sas3 lsi > cards? > > Richard Jahnel > Network Engineer > On-Site.com | Ellipse Design > 866-266-7483 ext. 4408 > Direct: 669-800-6270 > > -Original Message- > From: OmniOS-discuss [mailto:omnios-discuss-boun...@lists.omniti.com] On > Behalf Of Dan McDonald > Sent: Thursday, March 03, 2016 12:54 PM > To: Fábio Rabelo ; Dan McDonald > Cc: omnios-discuss > Subject: Re: [OmniOS-discuss] LSI3108 > > >> On Mar 3, 2016, at 1:46 PM, Fábio Rabelo wrote: >> >> >> I have a customer who wants to build a pure SSD Storage with Sandisk >> 12 Gb/s SAS interface ! > > Get an LSI 3008-based card. The 9300, for example. > > Dan > > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
[OmniOS-discuss] supermicro 3U all-in one storage system
Hi. I have had good luck with the SuperStorage 6037R-E1R16L chassis with the LSI 2308 IT mode HBA. Thoughts on the http://www.supermicro.com/products/system/3U/6038/SSG-6038R-E1CR16L.cfm. It has the LSI 3008 HBA and Intel x540 network cards. I want to get at least 4TB 3.5" SAS drives. Any suggestions on those? I will be installing the latest version of Ominos. thanks, Geoff ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss