Is it possible to use a zvol as log or cache device?

wolfgang at riegler.homeip.net wolfgang at riegler.homeip.net
Wed Apr 10 16:07:31 UTC 2013


Hi,

is it possible to create a zvol on one zpool for using it as log or cache device on another zpool?


On my testsystem I have a zpool called "system" with a FreeBSD 9.1 installed and a second zpool called "test".
Trying to add the log device I get the following error:

# zfs create -V 128M system/zil
# zpool add test log /dev/zvol/system/zil
cannot add to 'test': one or more devices is currently unavailable


kind regards

Wolfgang


More information about the freebsd-fs mailing list