Commit Graph

426 Commits

Author SHA1 Message Date
Bart Van Assche
b218431106 Merge r7376 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:09:22 +00:00
Bart Van Assche
f6f3c1d5d9 Merge r7375 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:08:58 +00:00
Bart Van Assche
184c9810dc Merge r7374 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:07:45 +00:00
Bart Van Assche
e3ca267824 scstadmin: Slightly change the output format of exported LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7588 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:59 +00:00
Bart Van Assche
a3ecb5b75b scstadmin, listExported: Remove dead code
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:39 +00:00
Bart Van Assche
14d4087ed3 scstadmin: Align exports columns properly
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7586 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:17 +00:00
Bart Van Assche
85ab1cc645 scstadmin: Synchronize test 07 with trunk r7327
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7585 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:40:51 +00:00
Bart Van Assche
6216226567 scstadmin: Fix parsing of the soft links under the 'exported' directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:38:33 +00:00
Bart Van Assche
55ad847977 scstadmin: Improve test 08
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:38:08 +00:00
Bart Van Assche
496edfcb0b scstadmin tests: Remove temporary files after tests 05 and 06 have finished
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:37:45 +00:00
Bart Van Assche
3983e066ad scstadmin: Add test 08 for -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7577 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:37:21 +00:00
Bart Van Assche
86e388e617 scstadmin: Skip the copy manager when computing exported LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:35:04 +00:00
Bart Van Assche
f67f292bb3 scstadmin: Add the -dumpAttrs command line option
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7575 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:58 +00:00
Bart Van Assche
838595ec7a scstadmin, test 07: Make a filename more specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:35 +00:00
Bart Van Assche
7cd8b03055 scstadmin: Revert r7310 because it was reported not to fix the issue it should have fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7573 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:10 +00:00
Bart Van Assche
9d01de3261 scstadmin: Fix -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:01 +00:00
Bart Van Assche
3abfda9ec0 scstadmin: Fix a few bugs in the regression test code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7166 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-04 02:36:37 +00:00
Bart Van Assche
2a074789ac scstadmin: Revert r7014
The immediateExit() call introduced in r7014 prevents to assign multiple
values to attributes that support multiple values, e.g. 'allowed_portal'.
Hence revert r7014.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-02-05 06:52:06 +00:00
Bart Van Assche
449eb5944b scstadmin: Avoid that specifying an attribute multiple times results in an incomprehensible error message
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7014 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-21 21:54:02 +00:00
Bart Van Assche
7c4b50692c scst regression tests: Unload the scst kernel module explicitly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-21 21:21:29 +00:00
Bart Van Assche
cf02e20771 scstadmin: Sort group and device group names alphabetically
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-07 00:22:47 +00:00
Bart Van Assche
67b215a3ff scstadmin: Bump version number
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-04 05:24:35 +00:00
Bart Van Assche
d41a3a3cc9 /etc/init.d/scst: Make this script work on recent versions of Ubuntu Linux
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-07-26 17:26:17 +00:00
Vladislav Bolkhovitin
55bb0206cd scst: when checking the status of the service, also check if all daemons are running
Signed-off-by: Erez Zilber <erezzi.list@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6906 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-06-30 04:10:38 +00:00
Bart Van Assche
d15d5773a7 scst, iscsi-scst, scstadmin: Spell successful and unsuccessful correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6891 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-05-07 04:30:46 +00:00
Vladislav Bolkhovitin
f97c54e690 scstadmin: prevent saving statistical dif_checks_failed attribute
From Marc Smith <marc.smith@mcc.edu>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6867 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-20 04:52:58 +00:00
Bart Van Assche
dec1b4a12d scstadmin: Leave out "r" from RPM revision number
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-09 03:11:52 +00:00
Bart Van Assche
39c3b79497 scst regression test 7: Fix $redirect_file initialization
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:39:19 +00:00
Bart Van Assche
41434a9905 scstadmin: Suppress warnings about the use of an undefined value in numeric ne (!=)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:05:20 +00:00
Bart Van Assche
b3dcab787a scstadmin: Bump SCST.pm version number from 0.9.10 to 1.0.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6738 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:44:23 +00:00
Bart Van Assche
ed118eb69e scstadmin: Fix regression test 7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:39:55 +00:00
Bart Van Assche
d25d044b3f scstadmin: Fix SCST/SCST.pm path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 20:03:09 +00:00
Bart Van Assche
957b51a997 scstadmin, FC: By default, do not issue LIP. Add option -lip.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:35:34 +00:00
Bart Van Assche
749c8a3e75 scstadmin: Fix -attributes behavior for multiple attributes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6734 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:34:39 +00:00
Bart Van Assche
094a6be70d scstadmin: Add a seventh regression test
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6733 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:33:17 +00:00
Bart Van Assche
9484c62c41 scstadmin.sysfs/Makefile: Add and comment out TEST_VERBOSE=1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:31:49 +00:00
Bart Van Assche
e4a852e599 scstadmin regression tests: Rename two files
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 17:39:55 +00:00
Bart Van Assche
ad812fedb6 scstadmin: Ensure that -no_lip takes effect for all SCST configuration commands
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-02 22:59:33 +00:00
Bart Van Assche
3353e47e28 scstadmin: Make regression test 6 pass
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-23 23:05:24 +00:00
Bart Van Assche
949aa31053 scstadmin: Improve copy manager support further
Also restore pass-through LUNs


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-23 23:04:57 +00:00
Bart Van Assche
0f3bcea86d scstadmin: Improve copy manager support
Add support for saving and restoring copy manager attributes.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-21 00:19:04 +00:00
Bart Van Assche
2f455b29d1 /etc/init.d/scst: Suppress rmmod error messages
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6708 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-20 23:23:48 +00:00
Bart Van Assche
10a3374bc0 scstadmin: Pass $PREFIX to Makefile.PL
Signed-off-by: Alexey Mochkin <alukardd@alukardd.org>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-14 01:07:27 +00:00
Bart Van Assche
7588498c4a scstadmin: Leave out the copy manager from the driver list
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6690 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-13 21:07:50 +00:00
Bart Van Assche
cfe0d34201 scstadmin: Do not try to clear copy manager assignments
This patch avoids that the following error message is displayed on the
console while "/etc/init.d/scst start" is executed:

scst: scst_cm_mgmt:3556:***ERROR***: Device copy_manager_tgt not found


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-13 19:07:10 +00:00
Bart Van Assche
c800406f8c scstadmin, test 03: Skip the copy manager
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 23:57:31 +00:00
Bart Van Assche
fea566969f scstadmin: Do not save copy_manager LUN definitions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6671 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 23:56:56 +00:00
Bart Van Assche
64984b964c scstadmin.spec: procfs build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-28 21:09:11 +00:00
Bart Van Assche
8ae47bccef scstadmin: Micro-optimize driverExists()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6550 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-20 18:17:08 +00:00
Bart Van Assche
3d9ca3b2a6 SCST.pm: Do not cache the driver list
Signed-off-by: Eugene Apollonsky <apollonskiy.E@raidix.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6549 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-20 18:15:51 +00:00