On 12/11/2010 13:01, sridhar surampudi wrote:
How I can I quiesce / freeze all writes to zfs and zpool if want to take 
hardware level snapshots or array snapshot of all devices under a pool ?
are there any commands or ioctls or apis available ?

zpool export <pool>
zpool import <pool>

That is the only documented and supported way to do it that I'm aware of, and yes that does take the pool off line but that way you can be sure it isn't changing.

The only other way I know of to freeze a pool is for testing purposes only and if you want to learn about that you need to read the code because I'm not going to disclose it here in case it is miss used.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to