Create and Manage Drive Pools
To see a list of all available drives on a StorONE system, run the following command:
resources drives list
The output displays each drive, its serial number, the media type (HDD, SSD, or NVME), its approved state, its pool, and its capacity. If the pool column is empty, the drive must be added to a pool before it can be used as storage.
Creating a pool
To use drives for storage in an S1 system, you must first create a pool and assign drives to it. This pool is used as the underlying storage for volumes. Pools can only contain drives of the same media type (SSD, HDD, or NVME). You cannot mix media types in a pool.
To create a pool, use the command:
resources drives pools create --name=<name>
The <name>
argument is mandatory and specifies the name of the pool. Replace <name>
with a name of your choice. It is common to specify the name as the drive media type followed by an incrementing number. For example, if you want to create two pools of hard disk drives, consider naming the pools HDD1
and HDD2
.
First pool created on the system must include at least 5 SSD or NVMe drives. This pool will be used by the system to store configuration and statistics details.
Approving drives to be used by a pool
To list all existing pools, use the command resources drives pools list
.
To list all available drives, use the command resources drives list
. The output of this command also includes the ID number for each drive. To approve drives for a pool, use the command:
resources drives approve (--driveIds=<numbers…>|--all) [--manualPool=<name> --force]
-
(--driveIds=<numbers…>|--all)
: Specifies the drives to approve. You can either specify drive ID numbers using--driveIds=<numbers…>
(separate drives with a comma or space), or you can use the--all
option to approve all available drives. -
--manualPool=<name>
Specifies the name of the pool for which drives should be approved.-
--force
: Optional. Skips the confirmation prompt.
-
Examples
-
To approve all drives in the list for a pool
SSD1
, runresources drives approve --all ---manualPool SSD1
-
To approve specific drives for an existing pool:
-
To view all available pools, run the command
resources drives pools list
. This example uses a pool namedHDD1
. -
To view all available drives and their ID numbers, run
resources drives list
. This example uses drives with ID numbers 2, 5, and 8. -
To approve drives with ID numbers 2, 5, and 8 for the pool
HDD1
, use the following command:resources drives approve --ids 2 5 8 --manualPool HDD1
-
No Comments