Use the following task to add a read cache device or log device to an existing storage pool.
Before You Begin
For recommendations on how many drives to select per pool, as well as other considerations and guidelines, see Storage Pool Concepts.
You must select the same data profile currently used in the existing pool. To understand the different data profiles, see Data Profiles for Storage Pools.
Do not perform a pool configuration operation while a disk firmware upgrade is occurring. To check if an upgrade is in progress, navigate to maintenance system updates.
A meta device must be a 3.2 TB (minimum) SSD to support the enhanced data deduplication feature available in software version OS8.7.0 or later.
hostname:configuration storage (pool0)> set pool=pool1 pool = pool1
A message reminds you to verify that storage is correctly attached and functioning.
hostname:configuration storage (pool1)> add
hostname:configuration storage (pool1) verify> show ID STATUS ALLOCATION DATA LOG CACHE META RPM 0 ok custom 0 0 0/4 0/4 1.86T 1 ok custom 0 0/2 34G 0 0 15000 2 ok custom 0 0/2 34G 0/2 0 15000
hostname:configuration storage (pool1) verify> set 0-cache 1-data 2-cache 2-meta 2-log
ID "0" is the controller, and the remaining IDs are the disk shelves. In the following example, 2-log=1 allocates one log device from the second disk shelf.
hostname:configuration storage (pool1) verify> set 2-log=1 2-log = 1
This example allocates one cache device from the second disk shelf.
hostname:configuration storage (pool1) verify> set 2-cache=1 2-cache = 1
This example allocates one meta device from the second disk shelf:
hostname:configuration storage (pool1) verify> set 2-meta=1 2-meta = 1
hostname:configuration storage (pool1) verify> done
hostname:configuration storage (pool1) config> show PROFILE CAPCTY NSPF DESCRIPTION log_profile = log_stripe 17G no Striped log
Caution - A double failure can cause loss of data from a log in a striped configuration. It is highly recommended to configure a mirrored log profile for added redundancy. For more information, see Data Profiles for Storage Pools. |
hostname:configuration storage (pool1)> set log_profile=log_mirror
hostname:configuration storage (pool1)> set meta_profile=meta_mirror
hostname:configuration storage (pool1)> done