Adding a Cache or Log Device to an Existing Storage Pool (CLI)
2.
Go to configuration storage.
3.
If you have multiple pools, a default pool is selected and displayed. If this is not
the pool to which you want to add a device, enter set pool= and specify another
online pool.
Note - If you have a single pool, the pool name is not displayed, but it is selected.
hostname:configuration storage (pool0)> set pool=pool1
pool = pool1
A message reminds you to verify that storage is correctly attached and functioning.
4.
Enter add:
hostname:configuration storage (pool1)> add
5.
Enter show to display device information for the pool.
hostname:configuration storage (pool1) 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
6.
Enter set and the disk shelf or controller ID, and the number of log or cache
devices to use.
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
Note - A value of "1-log=2" would allocate two log devices from the first disk shelf.
This example allocates one cache device from the second disk shelf.
hostname:configuration storage (pool1) verify> set 2-cache=1
2-cache = 1
7.
Enter done.
hostname:configuration storage (pool1) verify> done
8.
Enter show to display the profile.
100 Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016