Please advise howto create cache/logdeive. When I try to create a mirrored volume for log, it says that I have to create a volume first ...?
The error exactly:
Cannot create volume only with log or spare disks: Please add disks to pool This configuration will be used to create volume.
do you have spare disks, to add as log (ZIL) or cache (ARC) ?
to add cache (arc)
zpool add tank cache c4t2d0
zpool add tank cache c4t3d0
where tank is the pool name, and c4t2d0 and c4t3d0 are disks, cache cannot be mirrored.
to add log (zil)
zpool add newpool log mirror c0t6d0 c0t7d0
where newpool is the pool, and c0t6d0 c0t7d0 are disks