On Tue, Sep 12, 2006 at 09:41:57AM -0400, Bowie Bailey enlightened us: > I have the latest kernel with the drivers for my 3ware 9550SX built in. > Where > can I find the tools and monitoring apps for this card? Are there rpms > hiding > somewhere, or do I need to build it from source? If you want package management, I've attached the spec files I use. They're nosrc, so you'll have to download the code from 3ware's website, but at least afterwards they'll be managed by rpm. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 -------------- next part -------------- %ifarch x86_64 %define archsuffix x86_64 %else %define archsuffix x86 %endif Summary: 3ware Command line utilities Name: 3ware-tw_utils Version: 9.3.0.4 Release: 1.mrh1 License: 3ware Proprietary Group: System Environment/Daemons URL: http://www.3ware.com/support/ Vendor: 3ware Inc. <linux at 3ware.com> Source0: tw_cli-linux-%{archsuffix}-%{version}.tgz NoSource: 0 Source1: tw_update-linux-%{archsuffix}-%{version}.tgz NoSource: 1 Source2: tw_sched.cron BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root AutoReq: 0 Requires: perl %description Command line utilites for use with 3ware Escalade controllers. %prep rm -rf $RPM_BUILD_ROOT %setup -c %{name}-%{version} %setup -T -D -a 1 %install %__mkdir_p $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/ %__mkdir_p $RPM_BUILD_ROOT%{_sbindir} %__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man8/ %__install -m 644 tw_sched.cfg $RPM_BUILD_ROOT%{_sysconfdir} %__install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/ %__install -m 755 tw_cli $RPM_BUILD_ROOT%{_sbindir} %__install -m 755 tw_sched $RPM_BUILD_ROOT%{_sbindir} %__install -m 755 tw_update $RPM_BUILD_ROOT%{_sbindir} %__install -m 644 tw_cli.8.nroff $RPM_BUILD_ROOT%{_mandir}/man8/tw_cli.8 %__install -m 644 tw_sched.8.nroff $RPM_BUILD_ROOT%{_mandir}/man8/tw_sched.8 %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc tw_cli.8.html tw_sched.8.html %{_sysconfdir}/tw_sched.cfg %{_sysconfdir}/cron.d/tw_sched.cron %{_sbindir}/tw_cli %{_sbindir}/tw_sched %{_sbindir}/tw_update %{_mandir}/man8/tw_cli.8* %{_mandir}/man8/tw_sched.8* %changelog * Wed May 10 2006 Matthew Hyclak <hyclak at math.ohiou.edu> - 9.3.0.4 - Initial package -------------- next part -------------- %define redhat %(rpm -q redhat-release > /dev/null && echo 1 || rpm -q centos-release > /dev/null && echo 1 || echo 0) %define fedora %(rpm -q fedora-release > /dev/null && echo 1 || echo 0) %if %redhat %define distsuffix redhat %endif %if %fedora %define distsuffix fedora %endif %ifarch x86_64 %define archsuffix x86_64 %else %define archsuffix x86 %endif Summary: 3ware DiskSwitch Management Daemon Name: 3dm2 Version: 9.3.0.4 Release: 2.mrh1 License: 3ware Proprietary Group: System Environment/Daemons URL: http://www.3ware.com/support/ Vendor: 3ware Inc. <linux at 3ware.com> Source0: 3DM2-Linux-%{version}.tgz NoSource: 0 Source1: 3dm2.logrotate Source2: 3dm2.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description The 3ware DiskSwitch Management Daemon allows you to manage your harddrives connected to a 3ware Storage Switche and configure them and run/schedule maintenance tasks via a web GUI. %prep rm -rf $RPM_BUILD_ROOT %setup -c %{name}-%{version} %__tar -xzf 3dm-lnx.tgz %install %__mkdir_p $RPM_BUILD_ROOT%{_sysconfdir}/3dm2/msg %__mkdir_p $RPM_BUILD_ROOT%{_sysconfdir}/init.d %__mkdir_p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d %__mkdir_p $RPM_BUILD_ROOT%{_sbindir} %__mkdir_p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %__mkdir_p $RPM_BUILD_ROOT/var/log %__tar -xzf 3dm-msg.tgz -C $RPM_BUILD_ROOT%{_sysconfdir}/3dm2/msg %__install -m 755 3dm2.%{distsuffix} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/3dm2 %__install -m 755 3dm2.%{archsuffix} $RPM_BUILD_ROOT%{_sbindir}/3dm2 %__tar -xzf 3dm-help.tgz -C $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %__install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/3dm2 %__install -m 600 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/3dm2/ %clean %__rm -rf $RPM_BUILD_ROOT %preun chkconfig --del 3dm2 %{_sysconfdir}/rc.d/init.d/3dm2 stop %post chkconfig --add 3dm2 %{_sysconfdir}/rc.d/init.d/3dm2 start echo "3dm2 is now listening on https://localhost:888/ , the default password" echo "for both administrator and user is '3ware'." echo "Please configure 3dm2 now." %files %defattr(-,root,root) %config %{_sysconfdir}/3dm2/* %config %{_sysconfdir}/init.d/3dm2 %config %{_sysconfdir}/logrotate.d/3dm2 %{_sbindir}/3dm2 %{_docdir}/%{name}-%{version}/* /var/log %changelog * Wed May 10 2006 Matthew Hyclak <hyclak at math.ohiou.edu> - 9.3.0.4 - Took work from http://naturidentisch.de/packages/fc4/3dm2/ and repackaged