Skip to content

metalcloud-cli storage drives

List drives available in a storage pool

List drives available in a specific storage pool.

This command retrieves all drives associated with a storage pool, showing their configuration, status, and specifications. Results can be paginated using the limit and page flags.

Arguments: storage_id The numeric ID of the storage pool

Optional flags: —limit Number of records per page (default: all records) —page Page number for pagination (requires —limit)

Examples:

metalcloud storage drives 123

metalcloud storage drives 123 —limit 10

metalcloud storage drives 123 —limit 10 —page 2

metalcloud-cli storage drives storage_id [flags]
-h, --help help for drives
--limit string Number of records per page
--page string Page number
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”