Is there a log file showing the commands entered for zpool and zfs? tia, Gary -- <http://www.sun.com> * Gary Combs * Product Architect *Sun Microsystems, Inc.* 3295 NW 211th Terrace Hillsboro, OR 97124 US Phone x32604/+1 503 715 3517 Fax 503-715-3517 Email Gary.Combs at Sun.COM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20051130/e5d59abf/attachment.html>
On Wed, Nov 30, 2005 at 01:49:54PM -0800, Gary Combs wrote:> Is there a log file showing the commands entered for zpool and zfs?Not currently. It''s a feature we plan on adding soon. --Bill
On Wed, 2005-11-30 at 22:08, Bill Moore wrote:> On Wed, Nov 30, 2005 at 01:49:54PM -0800, Gary Combs wrote: > > Is there a log file showing the commands entered for zpool and zfs? > > Not currently. It''s a feature we plan on adding soon.You can get this already with Solaris BSM Audit. Turn on auditing with bsmconv, then setup the "ex" class, ensure that you have `auditconfig -setpolicy +path` in /etc/security/audit_startup. This will cause all commands to be logged, you can easily use auditreduce(1m) and praudit(1m) (with XML output if you like) to reduce this down to just the ZFS commands. -- Darren J Moffat