diff --git a/README.rst b/README.rst index f137469..f0a6666 100644 --- a/README.rst +++ b/README.rst @@ -19,10 +19,11 @@ sasutils command-line tools * sas_discover * ses_report -Also, two "zeroconf" udev scripts for use in udev rules that create friendly device aliases using SES-2 subenclosure nicknames. +Also, a few "zeroconf" udev scripts for use in udev rules that create friendly device aliases using SES-2 subenclosure nicknames. * sas_mpath_snic_alias * sas_sd_snic_alias +* sas_st_snic_alias .. note:: @@ -182,6 +183,11 @@ Below is an example with a large topology with multiple SAS HBAs, SAS switches a `-- 51 x end_device -- disk +Use ``sas_discover --counters`` to display the number of SCSI commands issued (`req`), completed or rejected (`done`) and the ones that completed with an error (`error`). + +.. image:: https://raw.githubusercontent.com/stanford-rc/sasutils/master/doc/examples/sas_discover_counters_tape.svg + + sas_devices ----------- @@ -265,17 +271,24 @@ Use -s to get the status of all detected SES Element Descriptors. **ses_report** requires a recent version of *sg3_utils* and won't work with the version shipped with CentOS 6 for example. -sas_sd_snic_alias ------------------ +sas_sd_snic_alias and sas_st_snic_alias +--------------------------------------- Generate udev aliases using the SES-2 subenclosure nickname and bay identifier of each device. +These scripts can also be used as examples and adapted to your specific needs. -For example, add the following to your udev rules: +For example, for block devices, add the following to your udev rules: .. code-block:: KERNEL=="sd*", PROGRAM="/usr/bin/sas_sd_snic_alias %k", SYMLINK+="%c" +Or, for SAS tape drives behind SAS switches (that act as enclosures): + + .. code-block:: + + KERNEL=="st*", PROGRAM="/usr/bin/sas_st_snic_alias %k", SYMLINK+="%c" + This should generate udev aliases made of the device subenclosure nickname followed by the bay identifier. In the following case, *io1-jbod1-0* is the subenclosure nickname (here SIM 0 of JBOD #1). .. code-block:: diff --git a/doc/examples/sas_discover_counters_tape.svg b/doc/examples/sas_discover_counters_tape.svg new file mode 100644 index 0000000..96fbe4b --- /dev/null +++ b/doc/examples/sas_discover_counters_tape.svg @@ -0,0 +1 @@ +[root@elm-ent-dm01~]#[root@elm-ent-dm01~]#sas_discover--helpusage:sas_discover[-h][--verbose][--addr][--devices][--counters]optionalarguments:-h,--helpshowthishelpmessageandexit--verbose,-vVerbositylevel,repeatmultipletimes!--addrPrintSASaddresses--devicesPrintassociateddevices--countersPrintI/Ocounters[root@elm-ent-dm01~]#watch[root@elm-ent-dm01~]#watch-d[root@elm-ent-dm01~]#watch-d-n[root@elm-ent-dm01~]#watch-d-n1[root@elm-ent-dm01~]#watch-d-n1sas_discover[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters--devEvery1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:122023elm-ent-dm01`--host1|--4x--expander-1:1||--1x--end_device-1:1:4||`--enclosureIO:{req:866done:866error:0}[sg11]||--1x--end_device-1:1:0||`--tapeIO:{req:19471423done:19471423error:0}[sg7]||--1x--end_device-1:1:1||`--tapeIO:{req:19374939done:19374938error:0}[sg8]||--1x--end_device-1:1:2||`--tapeIO:{req:19372708done:19372708error:0}[sg9]|`--1x--end_device-1:1:3|`--tapeIO:{req:19372664done:19372664error:0}[sg10]`--4x--expander-1:0|--1x--end_device-1:0:4|`--enclosureIO:{req:879done:879error:0}[sg6]|--1x--end_device-1:0:1||--medium_changerIO:{req:17done:17error:1}[sg3]|`--tapeIO:{req:19579734done:19579734error:0}[sg2]|--1x--end_device-1:0:0|`--tapeIO:{req:19373279done:19373279error:0}[sg1]|--1x--end_device-1:0:2|`--tapeIO:{req:19369155done:19369154error:0}[sg4]`--1x--end_device-1:0:3`--tapeIO:{req:19374719done:19374719error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:132023||`--tapeIO:{req:19472072done:19472072error:0}[sg7]||`--tapeIO:{req:19373359done:19373358error:0}[sg9]|`--tapeIO:{req:19373274done:19373274error:0}[sg10]|`--tapeIO:{req:19580354done:19580353error:0}[sg2]|`--tapeIO:{req:19373929done:19373929error:0}[sg1]|`--tapeIO:{req:19369766done:19369766error:0}[sg4]`--tapeIO:{req:19375368done:19375367error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:142023||`--tapeIO:{req:19472681done:19472681error:0}[sg7]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:152023||`--tapeIO:{req:19473327done:19473327error:0}[sg7]||`--tapeIO:{req:19376849done:19376849error:0}[sg8]||`--tapeIO:{req:19374620done:19374620error:0}[sg9]|`--tapeIO:{req:19374530done:19374529error:0}[sg10]|`--tapeIO:{req:19581624done:19581623error:0}[sg2]|`--tapeIO:{req:19375184done:19375184error:0}[sg1]|`--tapeIO:{req:19371029done:19371029error:0}[sg4]`--tapeIO:{req:19376622done:19376621error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:162023||`--tapeIO:{req:19473934done:19473934error:0}[sg7]||`--tapeIO:{req:19377459done:19377459error:0}[sg8]||`--tapeIO:{req:19375230done:19375230error:0}[sg9]|`--tapeIO:{req:19375176done:19375176error:0}[sg10]|`--tapeIO:{req:19582256done:19582256error:0}[sg2]|`--tapeIO:{req:19375791done:19375791error:0}[sg1]|`--tapeIO:{req:19371679done:19371679error:0}[sg4]`--tapeIO:{req:19377268done:19377268error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:172023||`--tapeIO:{req:19474582done:19474582error:0}[sg7]||`--tapeIO:{req:19378109done:19378109error:0}[sg8]||`--tapeIO:{req:19375879done:19375879error:0}[sg9]`--tapeIO:{req:19377876done:19377876error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:182023||`--tapeIO:{req:19475191done:19475191error:0}[sg7]||`--tapeIO:{req:19378720done:19378719error:0}[sg8]||`--tapeIO:{req:19376491done:19376490error:0}[sg9]|`--tapeIO:{req:19376433done:19376433error:0}[sg10]|`--tapeIO:{req:19583515done:19583515error:0}[sg2]|`--tapeIO:{req:19377086done:19377086error:0}[sg1]|`--tapeIO:{req:19377692done:19377691error:0}[sg1]|`--tapeIO:{req:19373551done:19373550error:0}[sg4]`--tapeIO:{req:19379166done:19379166error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:202023||`--tapeIO:{req:19476446done:19476446error:0}[sg7]||`--tapeIO:{req:19379979done:19379979error:0}[sg8]||`--tapeIO:{req:19377750done:19377750error:0}[sg9]|`--tapeIO:{req:19377689done:19377689error:0}[sg10]|`--tapeIO:{req:19584774done:19584773error:0}[sg2]|`--tapeIO:{req:19378341done:19378340error:0}[sg1]|`--tapeIO:{req:19374203done:19374202error:0}[sg4]`--tapeIO:{req:19379775done:19379774error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:212023|`--tapeIO:{req:19585516done:19585516error:0}[sg2]|`--tapeIO:{req:19379080done:19379080error:0}[sg1]|`--tapeIO:{req:19374946done:19374946error:0}[sg4]`--tapeIO:{req:19380554done:19380554error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:232023||`--tapeIO:{req:19477835done:19477834error:0}[sg7]||`--tapeIO:{req:19381369done:19381369error:0}[sg8]||`--tapeIO:{req:19379143done:19379142error:0}[sg9]|`--tapeIO:{req:19379078done:19379077error:0}[sg10]|`--tapeIO:{req:19586167done:19586167error:0}[sg2]|`--tapeIO:{req:19379729done:19379729error:0}[sg1]|`--tapeIO:{req:19375597done:19375597error:0}[sg4]`--tapeIO:{req:19381163done:19381163error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:242023||`--tapeIO:{req:19478482done:19478482error:0}[sg7]||`--tapeIO:{req:19381980done:19381980error:0}[sg8]||`--tapeIO:{req:19379793done:19379792error:0}[sg9]|`--tapeIO:{req:19379724done:19379724error:0}[sg10]|`--tapeIO:{req:19586779done:19586778error:0}[sg2]|`--tapeIO:{req:19380338done:19380337error:0}[sg1]|`--tapeIO:{req:19376209done:19376209error:0}[sg4]`--tapeIO:{req:19381809done:19381808error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:252023||`--tapeIO:{req:19479091done:19479091error:0}[sg7]||`--tapeIO:{req:19382630done:19382630error:0}[sg8]||`--tapeIO:{req:19380403done:19380403error:0}[sg9]|`--tapeIO:{req:19380332done:19380332error:0}[sg10]|`--tapeIO:{req:19587428done:19587427error:0}[sg2]|`--tapeIO:{req:19380985done:19380985error:0}[sg1]|`--tapeIO:{req:19376858done:19376858error:0}[sg4]`--tapeIO:{req:19382417done:19382416error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:262023||`--tapeIO:{req:19479739done:19479738error:0}[sg7]||`--tapeIO:{req:19383239done:19383239error:0}[sg8]||`--tapeIO:{req:19381051done:19381051error:0}[sg9]|`--tapeIO:{req:19380979done:19380979error:0}[sg10]|`--tapeIO:{req:19588037done:19588036error:0}[sg2]|`--tapeIO:{req:19381593done:19381592error:0}[sg1]|`--tapeIO:{req:19377467done:19377467error:0}[sg4]`--tapeIO:{req:19383063done:19383063error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:272023||`--tapeIO:{req:19480381done:19480381error:0}[sg7]|`--tapeIO:{req:19381583done:19381583error:0}[sg10]|`--tapeIO:{req:19588686done:19588686error:0}[sg2]|`--tapeIO:{req:19382235done:19382235error:0}[sg1]|`--tapeIO:{req:19378116done:19378116error:0}[sg4]`--tapeIO:{req:19383667done:19383667error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:282023||`--tapeIO:{req:19480991done:19480990error:0}[sg7]||`--tapeIO:{req:19384499done:19384499error:0}[sg8]||`--tapeIO:{req:19382312done:19382312error:0}[sg9]|`--tapeIO:{req:19382232done:19382232error:0}[sg10]|`--tapeIO:{req:19589298done:19589298error:0}[sg2]|`--tapeIO:{req:19382885done:19382884error:0}[sg1]|`--tapeIO:{req:19378729done:19378729error:0}[sg4]|`--tapeIO:{req:19589948done:19589948error:0}[sg2]|`--tapeIO:{req:19383494done:19383493error:0}[sg1]|`--tapeIO:{req:19379373done:19379372error:0}[sg4]`--tapeIO:{req:19384963done:19384963error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:302023||`--tapeIO:{req:19482249done:19482248error:0}[sg7]||`--tapeIO:{req:19385760done:19385760error:0}[sg8]||`--tapeIO:{req:19383557done:19383556error:0}[sg9]|`--tapeIO:{req:19383489done:19383489error:0}[sg10]|`--tapeIO:{req:19590561done:19590560error:0}[sg2]|`--tapeIO:{req:19384142done:19384142error:0}[sg1]|`--tapeIO:{req:19379991done:19379991error:0}[sg4]`--tapeIO:{req:19385573done:19385573error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:312023||`--tapeIO:{req:19482896done:19482896error:0}[sg7]|`--tapeIO:{req:19591211done:19591211error:0}[sg2]|`--tapeIO:{req:19384748done:19384748error:0}[sg1]|`--tapeIO:{req:19380602done:19380601error:0}[sg4]`--tapeIO:{req:19386220done:19386219error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:322023||`--tapeIO:{req:19483504done:19483504error:0}[sg7]||`--tapeIO:{req:19387020done:19387020error:0}[sg8]||`--tapeIO:{req:19384828done:19384827error:0}[sg9]|`--tapeIO:{req:19384743done:19384743error:0}[sg10]|`--tapeIO:{req:19591822done:19591822error:0}[sg2]|`--tapeIO:{req:19385395done:19385395error:0}[sg1]|`--tapeIO:{req:19381251done:19381251error:0}[sg4]`--tapeIO:{req:19386828done:19386828error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:342023||`--tapeIO:{req:19484153done:19484153error:0}[sg7]||`--tapeIO:{req:19387669done:19387669error:0}[sg8]||`--tapeIO:{req:19385444done:19385444error:0}[sg9]|`--tapeIO:{req:19385392done:19385391error:0}[sg10]|`--tapeIO:{req:19592472done:19592472error:0}[sg2]|`--tapeIO:{req:19386004done:19386004error:0}[sg1]|`--tapeIO:{req:19381862done:19381861error:0}[sg4]`--tapeIO:{req:19387475done:19387474error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:352023||`--tapeIO:{req:19484761done:19484760error:0}[sg7]||`--tapeIO:{req:19388279done:19388279error:0}[sg8]||`--tapeIO:{req:19386079done:19386078error:0}[sg9]|`--tapeIO:{req:19386001done:19386001error:0}[sg10]|`--tapeIO:{req:19593083done:19593082error:0}[sg2]|`--tapeIO:{req:19386654done:19386653error:0}[sg1]|`--tapeIO:{req:19382512done:19382512error:0}[sg4]`--tapeIO:{req:19388081done:19388081error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:362023||`--tapeIO:{req:19485407done:19485407error:0}[sg7]||`--tapeIO:{req:19388928done:19388928error:0}[sg8]||`--tapeIO:{req:19386704done:19386704error:0}[sg9]`--tapeIO:{req:19388727done:19388727error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:372023||`--tapeIO:{req:19486014done:19486013error:0}[sg7]||`--tapeIO:{req:19389537done:19389537error:0}[sg8]||`--tapeIO:{req:19387349done:19387348error:0}[sg9]|`--tapeIO:{req:19387252done:19387251error:0}[sg10]|`--tapeIO:{req:19594341done:19594341error:0}[sg2]|`--tapeIO:{req:19387906done:19387905error:0}[sg1]|`--tapeIO:{req:19383770done:19383770error:0}[sg4]`--tapeIO:{req:19389373done:19389372error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:382023||`--tapeIO:{req:19486661done:19486660error:0}[sg7]||`--tapeIO:{req:19390186done:19390185error:0}[sg8]||`--tapeIO:{req:19387962done:19387962error:0}[sg9]|`--tapeIO:{req:19387897done:19387897error:0}[sg10]|`--tapeIO:{req:19594991done:19594990error:0}[sg2]|`--tapeIO:{req:19388552done:19388551error:0}[sg1]|`--tapeIO:{req:19384380done:19384380error:0}[sg4]`--tapeIO:{req:19389980done:19389980error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:392023||`--tapeIO:{req:19487267done:19487267error:0}[sg7]||`--tapeIO:{req:19390794done:19390794error:0}[sg8]||`--tapeIO:{req:19388574done:19388573error:0}[sg9]|`--tapeIO:{req:19595601done:19595601error:0}[sg2]|`--tapeIO:{req:19389157done:19389157error:0}[sg1]|`--tapeIO:{req:19385029done:19385029error:0}[sg4]`--tapeIO:{req:19390626done:19390625error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:402023||`--tapeIO:{req:19487911done:19487911error:0}[sg7]||`--tapeIO:{req:19391443done:19391443error:0}[sg8]||`--tapeIO:{req:19389222done:19389222error:0}[sg9]|`--tapeIO:{req:19385639done:19385638error:0}[sg4]`--tapeIO:{req:19391231done:19391231error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:412023||`--tapeIO:{req:19488555done:19488555error:0}[sg7]||`--tapeIO:{req:19392052done:19392052error:0}[sg8]||`--tapeIO:{req:19389832done:19389832error:0}[sg9]|`--tapeIO:{req:19389792done:19389792error:0}[sg10]|`--tapeIO:{req:19596859done:19596859error:0}[sg2]|`--tapeIO:{req:19390406done:19390406error:0}[sg1]|`--tapeIO:{req:19386287done:19386287error:0}[sg4]`--tapeIO:{req:19391875done:19391875error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:422023||`--tapeIO:{req:19489161done:19489161error:0}[sg7]||`--tapeIO:{req:19392700done:19392700error:0}[sg8]||`--tapeIO:{req:19390481done:19390480error:0}[sg9]|`--tapeIO:{req:19390399done:19390398error:0}[sg10]|`--tapeIO:{req:19597508done:19597508error:0}[sg2]|`--tapeIO:{req:19391051done:19391051error:0}[sg1]|`--tapeIO:{req:19386897done:19386897error:0}[sg4]`--tapeIO:{req:19392482done:19392482error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:432023||`--tapeIO:{req:19489810done:19489810error:0}[sg7]||`--tapeIO:{req:19393311done:19393311error:0}[sg8]||`--tapeIO:{req:19391093done:19391092error:0}[sg9]|`--tapeIO:{req:19391047done:19391047error:0}[sg10]|`--tapeIO:{req:19598121done:19598120error:0}[sg2]|`--tapeIO:{req:19391661done:19391661error:0}[sg1]|`--tapeIO:{req:19387549done:19387549error:0}[sg4]`--tapeIO:{req:19393131done:19393131error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:442023||`--tapeIO:{req:19490415done:19490415error:0}[sg7]||`--tapeIO:{req:19391740done:19391740error:0}[sg9]|`--tapeIO:{req:19391652done:19391652error:0}[sg10]|`--tapeIO:{req:19598768done:19598767error:0}[sg2]|`--tapeIO:{req:19392306done:19392306error:0}[sg1]|`--tapeIO:{req:19388156done:19388156error:0}[sg4]`--tapeIO:{req:19393775done:19393774error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:462023||`--tapeIO:{req:19491060done:19491060error:0}[sg7]`--tapeIO:{req:19394379done:19394378error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:472023||`--tapeIO:{req:19491797done:19491797error:0}[sg7]||`--tapeIO:{req:19395343done:19395342error:0}[sg8]||`--tapeIO:{req:19393125done:19393125error:0}[sg9]|`--tapeIO:{req:19393032done:19393032error:0}[sg10]|`--tapeIO:{req:19600153done:19600153error:0}[sg2]|`--tapeIO:{req:19393685done:19393685error:0}[sg1]|`--tapeIO:{req:19389543done:19389543error:0}[sg4]`--tapeIO:{req:19395153done:19395153error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:482023||`--tapeIO:{req:19492445done:19492445error:0}[sg7]||`--tapeIO:{req:19395954done:19395953error:0}[sg8]`--tapeIO:{req:19395762done:19395761error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:492023||`--tapeIO:{req:19493052done:19493052error:0}[sg7]||`--tapeIO:{req:19396603done:19396603error:0}[sg8]||`--tapeIO:{req:19394386done:19394386error:0}[sg9]|`--tapeIO:{req:19394326done:19394326error:0}[sg10]|`--tapeIO:{req:19601405done:19601404error:0}[sg2]|`--tapeIO:{req:19394941done:19394941error:0}[sg1][root@elm-ent-dm01~]##[root@elm-ent-dm01~]##thanks[root@elm-ent-dm01~]##thanksfor[root@elm-ent-dm01~]##thanksforwatching[root@elm-ent-dm01~]##s[root@elm-ent-dm01~]##st[root@elm-ent-dm01~]##send[root@elm-ent-dm01~]##sendfeedback[root@elm-ent-dm01~]##sendfeedbackor[root@elm-ent-dm01~]##sendfeedbackorissues[root@elm-ent-dm01~]##sendfeedbackorissueso[root@elm-ent-dm01~]##sendfeedbackorissuesot[root@elm-ent-dm01~]##sendfeedbackorissuesto:[root@elm-ent-dm01~]##https://github.com/stanford-rc/sasutils/issues[root@elm-ent-dm01~]#exit[root@elm-ent-dm01~]#s[root@elm-ent-dm01~]#sa[root@elm-ent-dm01~]#sas[root@elm-ent-dm01~]#sas_[root@elm-ent-dm01~]#sas_d[root@elm-ent-dm01~]#sas_di[root@elm-ent-dm01~]#sas_discover[root@elm-ent-dm01~]#sas_discover-[root@elm-ent-dm01~]#sas_discover--[root@elm-ent-dm01~]#sas_discover--h[root@elm-ent-dm01~]#sas_discover--he[root@elm-ent-dm01~]#sas_discover--hel[root@elm-ent-dm01~]#w[root@elm-ent-dm01~]#wa[root@elm-ent-dm01~]#wat[root@elm-ent-dm01~]#watc[root@elm-ent-dm01~]#watch-d-[root@elm-ent-dm01~]#watch-d-n1s[root@elm-ent-dm01~]#watch-d-n1sa[root@elm-ent-dm01~]#watch-d-n1sas[root@elm-ent-dm01~]#watch-d-n1sas_[root@elm-ent-dm01~]#watch-d-n1sas_d[root@elm-ent-dm01~]#watch-d-n1sas_di[root@elm-ent-dm01~]#watch-d-n1sas_dis[root@elm-ent-dm01~]#watch-d-n1sas_disc[root@elm-ent-dm01~]#watch-d-n1sas_disco[root@elm-ent-dm01~]#watch-d-n1sas_discov[root@elm-ent-dm01~]#watch-d-n1sas_discove[root@elm-ent-dm01~]#watch-d-n1sas_discover-[root@elm-ent-dm01~]#watch-d-n1sas_discover--[root@elm-ent-dm01~]#watch-d-n1sas_discover--c[root@elm-ent-dm01~]#watch-d-n1sas_discover--co[root@elm-ent-dm01~]#watch-d-n1sas_discover--cou[root@elm-ent-dm01~]#watch-d-n1sas_discover--coun[root@elm-ent-dm01~]#watch-d-n1sas_discover--count[root@elm-ent-dm01~]#watch-d-n1sas_discover--counte[root@elm-ent-dm01~]#watch-d-n1sas_discover--counter[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters-[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters--[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters--d[root@elm-ent-dm01~]#watch-d-n1sas_discover--counters--de|||`--tapeIO:{req:19375589done:19374938error:0}[sg8]||`--tapeIO:{req:19375589done:19375588error:0}[sg8]||`--tapeIO:{req:19376200done:19375588error:0}[sg8]||`--tapeIO:{req:19376200done:19376200error:0}[sg8]||`--tapeIO:{req:19373970done:19373970error:0}[sg9]|`--tapeIO:{req:19373923done:19373922error:0}[sg10]|`--tapeIO:{req:19580997done:19580996error:0}[sg2]|`--tapeIO:{req:19374538done:19374537error:0}[sg1]|`--tapeIO:{req:19370417done:19370417error:0}[sg4]`--tapeIO:{req:19376015done:19376015error:0}[sg5]`--tapeIO:{req:19376622done:19376015error:0}[sg5]||`--tapeIO:{req:19377459done:19376849error:0}[sg8]|`--tapeIO:{req:19371679done:19371029error:0}[sg4]|`--tapeIO:{req:19375785done:19375176error:0}[sg10]|`--tapeIO:{req:19375785done:19375785error:0}[sg10]|`--tapeIO:{req:19582894done:19582893error:0}[sg2]|`--tapeIO:{req:19376439done:19376438error:0}[sg1]|`--tapeIO:{req:19372291done:19372291error:0}[sg4]|`--tapeIO:{req:19372942done:19372291error:0}[sg4]|`--tapeIO:{req:19372942done:19372942error:0}[sg4]`--tapeIO:{req:19378523done:19378522error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:192023||`--tapeIO:{req:19475836done:19475836error:0}[sg7]||`--tapeIO:{req:19379367done:19379366error:0}[sg8]||`--tapeIO:{req:19377138done:19377138error:0}[sg9]|`--tapeIO:{req:19377039done:19377039error:0}[sg10]|`--tapeIO:{req:19584162done:19584162error:0}[sg2]||`--tapeIO:{req:19477225done:19476446error:0}[sg7]||`--tapeIO:{req:19477225done:19477225error:0}[sg7]||`--tapeIO:{req:19380719done:19380719error:0}[sg8]||`--tapeIO:{req:19378514done:19378513error:0}[sg9]|`--tapeIO:{req:19378429done:19378429error:0}[sg10]||`--tapeIO:{req:19379793done:19379142error:0}[sg9]||`--tapeIO:{req:19382630done:19381980error:0}[sg8]|`--tapeIO:{req:19380985done:19380337error:0}[sg1]||`--tapeIO:{req:19383239done:19382630error:0}[sg8]||`--tapeIO:{req:19383888done:19383888error:0}[sg8]||`--tapeIO:{req:19381661done:19381660error:0}[sg9]||`--tapeIO:{req:19382312done:19381660error:0}[sg9]`--tapeIO:{req:19384316done:19383667error:0}[sg5]`--tapeIO:{req:19384316done:19384315error:0}[sg5]Every1.0s:sas_discover--counters--develm-ent-dm01:SunOct110:33:292023||`--tapeIO:{req:19481638done:19481638error:0}[sg7]||`--tapeIO:{req:19385148done:19385148error:0}[sg8]||`--tapeIO:{req:19382923done:19382923error:0}[sg9]|`--tapeIO:{req:19382840done:19382840error:0}[sg10]|`--tapeIO:{req:19383489done:19382840error:0}[sg10]||`--tapeIO:{req:19386410done:19385760error:0}[sg8]||`--tapeIO:{req:19386410done:19386410error:0}[sg8]||`--tapeIO:{req:19384185done:19384184error:0}[sg9]|`--tapeIO:{req:19384136done:19384136error:0}[sg10]|`--tapeIO:{req:19384743done:19384136error:0}[sg10]|`--tapeIO:{req:19386004done:19385395error:0}[sg1]|`--tapeIO:{req:19593083done:19592472error:0}[sg2]|`--tapeIO:{req:19386647done:19386001error:0}[sg10]|`--tapeIO:{req:19386647done:19386646error:0}[sg10]|`--tapeIO:{req:19593732done:19593731error:0}[sg2]|`--tapeIO:{req:19387260done:19387260error:0}[sg1]|`--tapeIO:{req:19383121done:19383120error:0}[sg4]|`--tapeIO:{req:19383770done:19383120error:0}[sg4]|`--tapeIO:{req:19594991done:19594341error:0}[sg2]|`--tapeIO:{req:19388542done:19387897error:0}[sg10]|`--tapeIO:{req:19388542done:19388542error:0}[sg10]|`--tapeIO:{req:19389148done:19388542error:0}[sg10]|`--tapeIO:{req:19389148done:19389148error:0}[sg10]|`--tapeIO:{req:19596250done:19596250error:0}[sg2]|`--tapeIO:{req:19389802done:19389801error:0}[sg1]|`--tapeIO:{req:19390406done:19389801error:0}[sg1]|`--tapeIO:{req:19597508done:19596859error:0}[sg2]||`--tapeIO:{req:19391093done:19390480error:0}[sg9]||`--tapeIO:{req:19393958done:19393311error:0}[sg8]||`--tapeIO:{req:19393958done:19393957error:0}[sg8]||`--tapeIO:{req:19394566done:19393957error:0}[sg8]||`--tapeIO:{req:19394566done:19394565error:0}[sg8]||`--tapeIO:{req:19392348done:19392348error:0}[sg9]|`--tapeIO:{req:19392297done:19392297error:0}[sg10]|`--tapeIO:{req:19599376done:19599376error:0}[sg2]|`--tapeIO:{req:19392951done:19392950error:0}[sg1]|`--tapeIO:{req:19388804done:19388804error:0}[sg4]|`--tapeIO:{req:19389543done:19388804error:0}[sg4]||`--tapeIO:{req:19393736done:19393125error:0}[sg9]||`--tapeIO:{req:19393736done:19393736error:0}[sg9]|`--tapeIO:{req:19393680done:19393680error:0}[sg10]|`--tapeIO:{req:19600765done:19600765error:0}[sg2]|`--tapeIO:{req:19394334done:19394334error:0}[sg1]|`--tapeIO:{req:19390195done:19390195error:0}[sg4]|`--tapeIO:{req:19390805done:19390195error:0}[sg4]|`--tapeIO:{req:19390805done:19390804error:0}[sg4]`--tapeIO:{req:19396408done:19396408error:0}[sg5][root@elm-ent-dm01~]##t[root@elm-ent-dm01~]##th[root@elm-ent-dm01~]##tha[root@elm-ent-dm01~]##than[root@elm-ent-dm01~]##thank[root@elm-ent-dm01~]##thanksf[root@elm-ent-dm01~]##thanksfo[root@elm-ent-dm01~]##thanksforw[root@elm-ent-dm01~]##thanksforwa[root@elm-ent-dm01~]##thanksforwat[root@elm-ent-dm01~]##thanksforwatc[root@elm-ent-dm01~]##thanksforwatch[root@elm-ent-dm01~]##thanksforwatchi[root@elm-ent-dm01~]##thanksforwatchin[root@elm-ent-dm01~]#@[root@elm-ent-dm01~]##ste[root@elm-ent-dm01~]##se[root@elm-ent-dm01~]##sen[root@elm-ent-dm01~]##sendf[root@elm-ent-dm01~]##sendfe[root@elm-ent-dm01~]##sendfee[root@elm-ent-dm01~]##sendfeed[root@elm-ent-dm01~]##sendfeedb[root@elm-ent-dm01~]##sendfeedba[root@elm-ent-dm01~]##sendfeedbac[root@elm-ent-dm01~]##sendfeedbacko[root@elm-ent-dm01~]##sendfeedbackori[root@elm-ent-dm01~]##sendfeedbackoris[root@elm-ent-dm01~]##sendfeedbackoriss[root@elm-ent-dm01~]##sendfeedbackorissu[root@elm-ent-dm01~]##sendfeedbackorissue[root@elm-ent-dm01~]##sendfeedbackorissuest[root@elm-ent-dm01~]##sendfeedbackorissuesto[root@elm-ent-dm01~]#https://github.com/stanford-rc/sasutils/issues[root@elm-ent-dm01~]#https://github.com/stanford-rc/sasutils/issues[root@elm-ent-dm01~]##https://github.com/stanford-rc/sasutils/issues[root@elm-ent-dm01~]#e[root@elm-ent-dm01~]#ex[root@elm-ent-dm01~]#exiexit \ No newline at end of file diff --git a/doc/man/man1/sas_counters.1 b/doc/man/man1/sas_counters.1 index 0d7dc01..762ff27 100644 --- a/doc/man/man1/sas_counters.1 +++ b/doc/man/man1/sas_counters.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH SAS_COUNTERS 1 "2023-02-16" "0.4.0" "sasutils" +.TH SAS_COUNTERS 1 "2023-10-01" "0.5.0" "sasutils" .SH NAME sas_counters \- show Serial Attached SCSI (SAS) counters . diff --git a/doc/man/man1/sas_devices.1 b/doc/man/man1/sas_devices.1 index 4bb2e91..7029e36 100644 --- a/doc/man/man1/sas_devices.1 +++ b/doc/man/man1/sas_devices.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH SAS_DEVICES 1 "2023-02-16" "0.4.0" "sasutils" +.TH SAS_DEVICES 1 "2023-10-01" "0.5.0" "sasutils" .SH NAME sas_devices \- show Serial Attached SCSI (SAS) enclosures and devices . diff --git a/doc/man/man1/sas_discover.1 b/doc/man/man1/sas_discover.1 index fb20fd8..c664bd5 100644 --- a/doc/man/man1/sas_discover.1 +++ b/doc/man/man1/sas_discover.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH SAS_DISCOVER 1 "2023-02-16" "0.4.0" "sasutils" +.TH SAS_DISCOVER 1 "2023-10-01" "0.5.0" "sasutils" .SH NAME sas_discover \- display Serial Attached SCSI (SAS) topology . diff --git a/doc/man/man1/ses_report.1 b/doc/man/man1/ses_report.1 index 0b46b28..59b1f7b 100644 --- a/doc/man/man1/ses_report.1 +++ b/doc/man/man1/ses_report.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH SES_REPORT 1 "2023-02-16" "0.4.0" "sasutils" +.TH SES_REPORT 1 "2023-10-01" "0.5.0" "sasutils" .SH NAME ses_report \- SCSI Enclosure Services (SES) status and metrics reporting utility . diff --git a/doc/txt/sas_counters.txt b/doc/txt/sas_counters.txt index e68fa6a..ba8602c 100644 --- a/doc/txt/sas_counters.txt +++ b/doc/txt/sas_counters.txt @@ -7,9 +7,9 @@ show Serial Attached SCSI (SAS) counters ---------------------------------------- :Author: Stephane Thiell -:Date: 2023-02-16 +:Date: 2023-10-01 :Copyright: Apache License Version 2.0 -:Version: 0.4.0 +:Version: 0.5.0 :Manual section: 1 :Manual group: sasutils diff --git a/doc/txt/sas_devices.txt b/doc/txt/sas_devices.txt index ffc66bb..8df09ca 100644 --- a/doc/txt/sas_devices.txt +++ b/doc/txt/sas_devices.txt @@ -7,9 +7,9 @@ show Serial Attached SCSI (SAS) enclosures and devices ------------------------------------------------------ :Author: Stephane Thiell -:Date: 2023-02-16 +:Date: 2023-10-01 :Copyright: Apache License Version 2.0 -:Version: 0.4.0 +:Version: 0.5.0 :Manual section: 1 :Manual group: sasutils diff --git a/doc/txt/sas_discover.txt b/doc/txt/sas_discover.txt index 0127ea2..9fa6138 100644 --- a/doc/txt/sas_discover.txt +++ b/doc/txt/sas_discover.txt @@ -7,9 +7,9 @@ display Serial Attached SCSI (SAS) topology ------------------------------------------- :Author: Stephane Thiell -:Date: 2023-02-16 +:Date: 2023-10-01 :Copyright: Apache License Version 2.0 -:Version: 0.4.0 +:Version: 0.5.0 :Manual section: 1 :Manual group: sasutils diff --git a/doc/txt/ses_report.txt b/doc/txt/ses_report.txt index 1a22847..706f05f 100644 --- a/doc/txt/ses_report.txt +++ b/doc/txt/ses_report.txt @@ -7,9 +7,9 @@ SCSI Enclosure Services (SES) status and metrics reporting utility ------------------------------------------------------------------ :Author: Stephane Thiell -:Date: 2023-02-16 +:Date: 2023-10-01 :Copyright: Apache License Version 2.0 -:Version: 0.4.0 +:Version: 0.5.0 :Manual section: 1 :Manual group: sasutils diff --git a/sasutils-el7.spec b/sasutils-el7.spec index f7c608f..e90054f 100644 --- a/sasutils-el7.spec +++ b/sasutils-el7.spec @@ -1,5 +1,5 @@ Name: sasutils -Version: 0.3.13 +Version: 0.5.0 Release: 1%{?dist} Summary: Serial Attached SCSI (SAS) utilities @@ -52,6 +52,9 @@ install -p -m 0644 doc/man/man1/ses_report.1 %{buildroot}/%{_mandir}/man1/ %license LICENSE.txt %changelog +* Sun Oct 1 2023 Stephane Thiell 0.5.0-1 +- update version + * Thu Feb 16 2023 Stephane Thiell 0.4.0-1 - update version diff --git a/sasutils.spec b/sasutils.spec index 3dd9f5b..898667b 100644 --- a/sasutils.spec +++ b/sasutils.spec @@ -1,5 +1,5 @@ Name: sasutils -Version: 0.4.0 +Version: 0.5.0 Release: 1%{?dist} Summary: Serial Attached SCSI (SAS) utilities @@ -52,6 +52,9 @@ install -p -m 0644 doc/man/man1/ses_report.1 %{buildroot}/%{_mandir}/man1/ %license LICENSE.txt %changelog +* Sun Oct 1 2023 Stephane Thiell 0.5.0-1 +- update version + * Thu Feb 16 2023 Stephane Thiell 0.4.0-1 - update version diff --git a/setup.py b/setup.py index 601f125..f78fd62 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ from setuptools import setup, find_packages -VERSION = '0.4.0' +VERSION = '0.5.0' setup(name='sasutils', version=VERSION,