TrueNAS SCALE Nightly Development DocumentationThis content follows experimental early release software. Use the Product and Version selectors above to view content specific to a stable software release.
Enclosure
3 minute read.
Last Modified 2024-03-15 13:07 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, use to set the drive slot status.