Commit Graph

264 Commits

Author SHA1 Message Date
Bart Van Assche
b5865c7969 /etc/init.d: When installing SCST 3.0, disable and remove the now obsolete iscsi-scst and qla2x00t init scripts.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-04 11:57:39 +00:00
Bart Van Assche
706407c334 /etc/init.d/scst: Let "scst start" proceed even if the config file is missing
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-22 19:09:59 +00:00
Bart Van Assche
24fc29b9d6 Follow-up for r3816: make sure that /etc/init.d/scst restart works again
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3826 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-21 08:21:31 +00:00
Bart Van Assche
34714117d1 /etc/init.d/scst, Gentoo: do not require that /etc/scst.conf exists when starting SCST. Makes the init script behavior on Gentoo consistent with LSB-compliant distributions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 08:27:18 +00:00
Bart Van Assche
0042639266 /etc/init.d/scst: Port to Gentoo
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 16:13:33 +00:00
Bart Van Assche
b500c6bad7 scstadmin works fine with SCST 2.x too
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-03 09:05:05 +00:00
Bart Van Assche
4f828ba8a3 Update scstadmin and scst.conf man pages with information about ALUA. Update the scst.conf example too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3782 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 12:38:51 +00:00
Mark Buechler
f58e5ff746 - Help menu cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:39:14 +00:00
Bart Van Assche
5bb53889f6 scstadmin: Port ALUA support to new sysfs interface
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:31:58 +00:00
Mark Buechler
dc7c3c569d - Hopefully the last fix for initiator to target.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:28:37 +00:00
Mark Buechler
d590380e90 - Terminology fix pointed out my Bart Van Assche - rename initiator to target wrt target groups.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:22:12 +00:00
Mark Buechler
df0b08fd87 - Update man page for minor argument changes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:18:20 +00:00
Mark Buechler
6dfea77a42 - Sync version with scst.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3767 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:03:42 +00:00
Mark Buechler
c69d248484 - Forgot initiators within target groups. ALUA should be complete now.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3766 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:03:15 +00:00
Mark Buechler
31a3b9b5b3 - Finish writeConfiguration().
- Added clearConfiguration() support for ALUA.
- Added applyConfiguration() support for ALUA.

At this point, ALUA support should be complete. 

Todo: Rewrite and simplify a whole lot of redundant code.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 16:47:49 +00:00
Mark Buechler
16cf933695 - Update addDeviceGroup() to latest svn.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 13:51:10 +00:00
Mark Buechler
b21be77a50 - Ignore the new DEVICE_GROUP clause when applying SCST attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 20:11:21 +00:00
Mark Buechler
8480912712 - Remove some left over debugging.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3755 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 19:21:55 +00:00
Mark Buechler
efb56801e9 - Read current ALUA configuration.
- Write current ALUA configuration.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 19:19:14 +00:00
Mark Buechler
00fcdca302 - Finish out the new ALUA options to scstadmin.
- Standardize the new options.
- Bug fixes.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 18:25:48 +00:00
Mark Buechler
03c41350bd - Add in device group attributes for if/when they are supported.
- Add a couple more ALUA arguments to scstadmin.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 15:24:50 +00:00
Bart Van Assche
dea280a0f9 scstadmin: Make (un)installation work again
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 12:25:55 +00:00
Bart Van Assche
84d6b9b6b4 Revert r3737
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 12:08:01 +00:00
Bart Van Assche
a3344b629a scstadmin: Install scstadmin in the proper directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 08:27:34 +00:00
Mark Buechler
d1b42a46a6 - Add initiator and attribute methods to module.
- Rename overly long method names.
- Add a couple more ALUA options to scstadmin.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 18:19:33 +00:00
Bart Van Assche
0648776e65 scstadmin: Make the default installation prefix /usr/local configurable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 19:00:24 +00:00
Mark Buechler
b52f158f91 - Fix Makefile.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:53:54 +00:00
Mark Buechler
24a1a3553d - Rename module directory to new version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:53:32 +00:00
Mark Buechler
1e95f146b1 - Hopefully finish out module additions (largely untested)
- Add basic functions to scstadmin for ALUA
- Increment version to be more in line with next SCST release



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:50:58 +00:00
Mark Buechler
b069bb43d3 - Initial module support for ALUA
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 17:31:09 +00:00
Bart Van Assche
688b1d50a6 scstadmin: For the new sysfs interface, make scstadmin independent of the presence of the text [key] on the second line of the value of a sysfs attribute
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 13:46:55 +00:00
Bart Van Assche
1b79bc57e9 scstadmin: Refactoring - use make_path() wherever possible
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:27:01 +00:00
Bart Van Assche
3e13713e87 scstadmin: Modify make_path() such that there is only a single leading slash at the start of absolute paths and such that it does not convert relative paths into absolute paths.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:26:04 +00:00
Bart Van Assche
588ed2f4d0 scstadmin: Refactoring - rename mkpath() into make_path(). While the current code works fine, the function mkpath() has the same name but different behavior than the Perl library function mkpath(), which is confusing for humans.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:24:55 +00:00
Bart Van Assche
5e293c567f Add man pages for scstadmin, /etc/scst.conf and /etc/default/scst, including the scst-devel mailing list address for feedback and scstadmin author information
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 07:27:15 +00:00
Bart Van Assche
bad6359752 scstadmin: Fix copy/paste bugs in the error messages in initiators() and luns().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 16:39:12 +00:00
Bart Van Assche
573ab14fe1 scstadmin: Unify the code for enumerating all SCST devices and the code for enumerating all SCST devices associated with a specific device handler
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 14:47:45 +00:00
Bart Van Assche
a66cbc4115 scstadmin: Add support for the sysfs interface provided by the code on the sysfs-tree-changes branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 12:47:04 +00:00
Bart Van Assche
158182310c scstadmin: Add local variables for emacs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 06:54:59 +00:00
Bart Van Assche
be2a156d3d /etc/init.d/scst: Replace another instance of "echo y | scstadmin" by "scstadmin -noprompt".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 19:06:02 +00:00
Bart Van Assche
b635ddf133 Whitespace-ony changes: use tab to indent and remove trailing whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 16:10:11 +00:00
Bart Van Assche
6640a95b54 scstadmin: Fix handlers(), the subroutine that scans for loaded device handlers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 15:39:39 +00:00
Bart Van Assche
8fd3c8dcac scstadmin: Make clear that the initiator group argument is optional for the LUN manipulation commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 11:54:02 +00:00
Bart Van Assche
6b84c4cfdb scstadmin: Change help text wording.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 10:37:31 +00:00
Bart Van Assche
8d652ce151 scstadmin: When adding a target attribute, report that a target attribute is being added instead of a driver attribute.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 10:00:13 +00:00
Bart Van Assche
5346d1cfd9 scstadmin: Should have been included in r3683.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 09:13:12 +00:00
Bart Van Assche
3ea5e2d4e5 scstadmin: Partially revert r3678. Checking whether a group name has been specified is the responsability of the Perl command line parser.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 08:56:06 +00:00
Bart Van Assche
d57423be9a scstadmin: Make -write_config write out initiator names in alphabetical order
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:54:12 +00:00
Bart Van Assche
bdba6df123 scstadmin: Only show usage information if -h or -help has been specified. Do not try to execute the specified command if there is a syntax error in the command line arguments.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:49:05 +00:00
Bart Van Assche
a2186fddc0 /etc/init.d/scst: Use the -noprompt option of scstadmin instead of "echo y |".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:46:17 +00:00