Expand your storage pool size with disks not managed by Portworx
If you are running Portworx in an environment where you need or want to manually resize a pool using drives that are not managed by Portworx, then follow these steps:
Add drives
-
Identify a storage pool that's running low on capacity.
-
Add drives to your node that are similar in size, type, and performance to the drives already in the pool you need to expand.
-
Add the drive by running the
pxctl service drive add
command with the following options:- The
--drive
flag followed by the name of the drive you want to add. - The
--operation
start flag.
pxctl sv drive add --drive /dev/sde --operation start
Adding drives may make storage offline for the duration of the operation.
Are you sure you want to proceed ? (Y/N): y
Drive add done: Storage rebalance is in progressAfter adding the drive, Portworx starts restriping the pool to include the new drive.
noteFor cloud-based pools, use this method for creating a new pool instead of expanding an existing pool. To add a drive to an existing cloud-based pool, use the
pxctl service pool expand --operation add-drive --uid <pool-ID> --size <new-storage-pool-size-in-GiB>
command. - The
-
Monitor the drive add operation status by entering the
pxctl service drive add
command, specifying the following:- The
--drive
flag and the name of the drive you added - The
--operation status
flag
pxctl service drive add --drive /dev/sde --operation status
When the status shows as
Drive /dev/sde already in use by PX.
, storage will be brought online automatically when this operation completes. - The