I currently have a log disk as part of a ZFS pool. However, after reading more about the purpose of logs and realizing it mostly sits idle, I would like to remove it and re-purpose it as a cache disk. In Disks -> ZFS -> Pools -> Tools I used the activity "remove a log device from a pool", and followed the steps, with the command completing successfully. This is reflected by running zpool status:
Code: Select all
pool: myPOOL
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
myPOOL ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0
cache
ada0 ONLINE 0 0 0I am able to add the disk as a cache disk using the "add a cache device to a pool" tool in Disks -> ZFS -> Pools -> Tools, and the pool appears to be working fine:
Code: Select all
pool: myPOOL
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
myPOOL ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0
cache
ada0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
errors: No known data errors
