STACCTL(1)
π STACCTL(1) β the stacctl glow-up π
okay bestie, pull up a chair, because this is the manual page for stacctl β that's the STorage Appliance Connector (STAC) utility program β and it's genuinely one of those little tools that just works. no cap. π«Ά
β¨ SYNOPSIS β¨
stacctl [OPTIONS...] {COMMAND} [OPTIONS...]
like... that's it. options, then a command, then maybe more options. she's simple, she's elegant, she ate. π
πΈ DESCRIPTION πΈ
so stacctl is the little buddy you use to talk to the stacd(8) daemon. that's the whole vibe: you ask, it answers, you get operational data back. it's giving "reliable bestie who always texts back". π¦
π COMMANDS π
here's what stacctl understands, and yes, every single one of these is iconic in her own way:
tronβ Trace ON. turns on code tracing, which lowkey means a lot of debug info gets printed to the syslog (thinksystemd-journal). it's a firehose, but a cute one. π₯troffβ Trace OFF. turns code tracing back off. the firehose gets capped. periodt.statusβ shows runtime status information. she's telling you how she's doing. π©Ίlsβ shows the list of I/O controllers. this lists all the I/O controllers configured instacd.conf(5)plus the ones discovered by thestafd(8)daemon. everyone's invited to this party. π
π OPTIONS π
the options, all of them, no gatekeeping:
-h,--helpβ prints the help text and dips. βοΈ--versionβ prints the version string and dips. βοΈ-d,--detailedβ prints additional details. more info, more better, more slay. β¨
π EXIT STATUS π
- on success,
0is returned. we love a happy ending. π₯° - otherwise, a non-zero failure code is returned. not the vibe, but at least she's honest. π
π EXAMPLES π
β Example 1. List I/O controllers
$ stacctl ls --detailed
[{'connect attempts': 0,
'device': 'nvme1',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': '8d22fa96da912fb13f5a',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aedead',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'},
{'connect attempts': 0,
'device': 'nvme2',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': 'a9987ae2fd173d100fd0',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aebeef',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'},
{'connect attempts': 0,
'device': 'nvme3',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': '13e122f1a8122bed5a8d',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34ae8e28',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'}]
look at her. three controllers, all lined up, all matching. that's main character energy. π
π¦ Example 2. Disable tracing
$ stacctl troff
literally that's it. one line. she said "quiet down" and it was done. π€«
π§ Example 3. Show stacd(8) operational status.
$ stacctl status
{'config soak timer': '1.5s [off]',
'controllers': [{'connect attempts': 0,
'device': 'nvme1',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': '8d22fa96da912fb13f5a',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aedead',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'},
{'connect attempts': 0,
'device': 'nvme2',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': 'a9987ae2fd173d100fd0',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aebeef',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'},
{'connect attempts': 0,
'device': 'nvme3',
'host-iface': '',
'host-traddr': '',
'hostid': '3e518ec3-72ec-46a5-a603-2510e3140e29',
'hostnqn': 'nqn.2014-08.org.nvmexpress:uuid:13730573-e8d7-446e-81f6-042a497846d5',
'model': 'Linux',
'retry connect timer': '60.0s [off]',
'serial': '13e122f1a8122bed5a8d',
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34ae8e28',
'traddr': '::1',
'transport': 'tcp',
'trsvcid': '8009'}],
'log-level': 'DEBUG',
'tron': True}
the whole status report, nested controllers and everything. 'log-level': 'DEBUG', 'tron': True, the works. she's an open book and i'm obsessed. ππ
π SEE ALSO π
go read her friends too, they're all part of the same friend group:
stacd.conf(5)stacd(8)()β yeah bestie, there's a lil empty reference sitting right there at the end. not me pointing it out π
reminder bestie:<rainbow>keep every flag, every daemon, every single digit of those NQNs exactly as written</rainbow>. the vibe is flexible, the facts are not. periodt. π
and that's the whole page!! this was nvme-stas version 2.4.1, and honestly? she ate. πβ¨
stay connected, stay traced (or don't, that's what troff is for), and remember β if it's not in the manual, it's not canon. mwah π
ππ¦
π¦ where this page comes from
- ubuntu resolute: nvme-stas 2.4.1-3build1 Β· Apache-2.0
- ubuntu stonking: nvme-stas 2.4.1-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms