Bart Van Assche
3dcace8794
Remove trailing whitespace from multiple files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7844 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-12-31 18:26:51 +00:00
Bart Van Assche
1587638134
Remove support for "make enable_proc" and "make disable_proc"
...
Since RHEL 5 and kernel versions before 2.6.26 rely on procfs support,
this patch removes support for RHEL 5.x and also for kernel versions
before 2.6.26.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-22 22:13:40 +00:00
Bart Van Assche
7c0540c556
Merge r7814:7819 from the 3.3.x branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7820 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 04:25:36 +00:00
Bart Van Assche
a009f41028
scstadmin.spec: Add /usr/bin/killall to the requirements list
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7603 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-03 23:52:32 +00:00
Bart Van Assche
69fde133e9
Revert r7524
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-31 14:25:52 +00:00
Bart Van Assche
91b99af914
scst, srpt, iscsi-scst, qla2x00t, fcst: Bump version number to 3.4.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-31 14:24:20 +00:00
Bart Van Assche
73dca5af22
Remove trailing whitespace from documentation files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7516 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-14 21:57:13 +00:00
Bart Van Assche
5f1fd232ae
scst*.spec: Set default attributes for directories
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:35:13 +00:00
Bart Van Assche
2d9858d894
scstadmin: Remove 'use Test'
...
Since scstadmin doesn't use the Perl module 'Test', remove 'use Test'.
See also trunk r6736.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7375 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:34:55 +00:00
Bart Van Assche
51e4ded159
scst.spec, scstadmin.spec: Add support for Fedora
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:34:18 +00:00
Bart Van Assche
8f22880dee
scstadmin: Slightly change the output format of exported LUNs
...
An example:
# scstadmin -noprompt -handler vdisk_fileio -close_dev diskf0
Collecting current configuration: done.
-> Making requested changes.
Device 'diskf0' is currently in use by the following:
Driver Target Group Lun
---------- ----------------------- ----- ----
iscsi iqn.2012-06.be.bva:tgt1 61
scst_local disks 1
FATAL: Received the following error:
Device 'diskf0' still in use, aborting. Use -force to override.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7334 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-07 02:25:10 +00:00
Bart Van Assche
2ccb2b1003
scstadmin, listExported: Remove dead code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7333 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-07 02:23:49 +00:00
Bart Van Assche
843e1e755d
scstadmin: Align exports columns properly
...
An example:
# scstadmin -noprompt -handler vdisk_fileio -close_dev diskf0
Collecting current configuration: done.
-> Making requested changes.
Device 'diskf0' is currently in use by the following:
Driver Target Group Lun
--------------------------------------------
iscsi iqn.2012-06.be.bva:tgt1 61
scst_local disks 1
FATAL: Received the following error:
Device 'diskf0' still in use, aborting. Use -force to override.
This patch is based on a proposal from Dzmitry Kotsikau.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-07 01:04:08 +00:00
Bart Van Assche
e3770250bb
scstadmin: Synchronize test 07 with trunk r7327
...
Trunk r7327 restored the 'dummy' attribute for the vdisk_nullio handler
and hence changed the outcome of test 07. Update the expected output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-07 01:02:42 +00:00
Bart Van Assche
e0903d4ce0
scstadmin: Fix parsing of the soft links under the 'exported' directory
...
Reported-by: Dzmitry Kotsikau <dkotsikau@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:02:47 +00:00
Bart Van Assche
7baba46a23
scstadmin: Improve test 08
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:01:16 +00:00
Bart Van Assche
e02fb4b9ad
scstadmin tests: Remove temporary files after tests 05 and 06 have finished
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:00:48 +00:00
Bart Van Assche
3ef72409bd
scstadmin: Add test 08 for -close_dev
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:17:23 +00:00
Bart Van Assche
efff1b524d
scstadmin: Skip the copy manager when computing exported LUNs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:16:04 +00:00
Bart Van Assche
a8f0afeb50
scstadmin: Add the -dumpAttrs command line option
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:15:11 +00:00
Bart Van Assche
6aaefd6882
scstadmin, test 07: Make a filename more specific
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:14:08 +00:00
Bart Van Assche
31ff7ecab8
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/trunk@7319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 02:40:13 +00:00
Bart Van Assche
41491391f8
scstadmin: Fix -close_dev
...
Avoid that closing a device fails and an empty export list is reported
if a device is currently not exported. This patch is based on a patch
provided by Dzmitry Kotsikau <dkotsikau@gmail.com >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-31 05:39:38 +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