TrueNAS SCALE Documentation Archive
This content follows the TrueNAS SCALE 22.12 (Bluefin) releases. Archival documentation is provided for reference only and not actively maintained.
Use the Product and Version selectors above to view content specific to different TrueNAS software or major versions.
Enclosure
3 minute read.
Last Modified 2024-03-19 08:47 EDTThe SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new!
The enclosure namespace has four commands and is based on functions found in the SCALE API and web UI. It provides access to enclosure management methods through the four enclosure commands.
You can enter commands from the main CLI prompt or from the enclosure namespace prompt.
The get_instance
command displays the status of a specified enclosure.
The query
command lists all enclosures in the system.
The set_slot_status
command forces a drive slot into a specified state.
The update
command lets you change the label in a specified enclosure. After entering the command, it returns a table with multiple outputs.