Adding Cache Devices to an Existing Pool
-
Install the new Readzilla or Logzilla device into the first available
slot. See the Overview in Oracle ZFS Storage Appliance Installation Guide
for slot locations.
-
At the command line, enter:
-
: poc:> configuration storage
-
Specify the pool you want to add the device to:
-
: poc:configuration storage (pool_2)> set
pool=pool_2
-
: pool = pool_2
-
: poc:configuration storage (pool_2)> add
-
:A message reminds you to verify that the device is correctly installed.
Note that mixing device types and speeds is strongly discouraged.
-
Show the device information for the pool:
-
: poc:configuration storage (pool_2) verify>
show
-
: ID STATUS ALLOCATION DATA LOG CACHE RPM
-
: 0 ok custom 0 0 0/4 1.86T
-
: 1 ok custom 0 0/2 34G 0 15000
-
: 2 ok custom 0 0/2 34G 0 15000
-
Specify which disk shelf and the number of Logzillas or Readzillas to
use. In the following example, 1-log=1 allocates one
Logzilla from the first disk shelf.
-
: poc:configuration storage (pool_2) verify> set
1-log=1
-
: 1-log = 1
-
:Note: A value of "1-log=2" would allocate two Logzillas from the first
disk shelf.
-
:This example allocates one Readzilla from the first disk shelf.
-
: poc:configuration storage (pool_2) verify> set
1-cache=1
-
: 1-cache = 1
-
Enter done.
-
: poc:configuration storage (pool_2) verify>
done
-
: Note: If you add an odd number of Logzilla devices to a pool, or if a
pool does not have already a profile, enter set
log_profile=log_mirror to set the log profile.
-
Enter show to display the profile.
-
: poc:configuration storage (pool_2) config>
show
-
:
-
: PROFILE CAPCTY NSPF DESCRIPTION
-
: log_profile = log_stripe 17G no Striped log
-
Enter done to complete the task:
-
: poc:configuration storage (pool_2) config>
done
-
: poc:configuration storage (pool_2)>