Hello,

I tried to use zfs with zvol and it works great as iscsitarget. I've got a 
problem with these zvol on initialisation or on reboot.
I can reproduce the problem with "zvol volfini" and "zvol init" commands:
with 100 zvol I have these results:
# time zfs volfini
real    0m0.029s
user    0m0.006s
sys     0m0.019s
# time zfs volinit

real    13m23.048s
user    0m0.019s
sys     0m0.121s

I tried to find out where does its time comes from. On dtrace I have a slowup 
on devfsadm calls.
The call is around there:
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs/common/libzfs_dataset.c#3735

Is there a way to make it asynchrone so each zvol initialisation take less time?

Thank you,
Miro
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to