Add SSD as Cache to Existing Volume

Added by Heath Christenson 11 months ago

Im wondering if it is possible to add an SSD drive as L2ARC to an existing zpool/volume.

I came across this command but not sure if its what i need to do or if its going to effect the existing volume

"zpool add tank cache c0t5d0 c0t6d0"

Thanks in advance for your assistance


Replies

RE: Add SSD as Cache to Existing Volume - Added by Dan Swartzendruber 11 months ago

Yes, there is no problem with adding a cache device. It will not affect the volume (at least not in a bad way). Not sure why you cut&pasted that specific command line, but if you are adding device c0t3d0 (for example) as an l2arc device, you do 'zpool add tank c0t3d0'.

RE: Add SSD as Cache to Existing Volume - Added by Heath Christenson 11 months ago

Thanks Dan, this worked perfectly.

for others Log in as root and run

zpool add cache