May be you could do something like : > tail -f /mnt/nac/etc/message | grep snap > my_snap_log when your Filer is mounted on the /mnt/nac dir of a Unix machine / You will have also to make a script to tail the new /etc/message file as this file change on the Filer. Thank you to let us know if it works for you and how.
----- Original Message ----- From: "Todd C. Merrill" tmerrill@mathworks.com To: toasters@mathworks.com Sent: Monday, April 23, 2001 9:29 PM Subject: logging snapshot events
Is there a way to log snapshot events?
I.e.:
Sun Apr 22 02:29:13 EDT [consumer]: Disk scrubbing finished... Sun Apr 22 08:30:46 EDT [snapevent]: Snapshot test created on vol vol0 by
user luser from machinename
Sun Apr 22 08:31:46 EDT [snapevent]: Snapshot test renamed to test2 on vol
vol0 by user luser from machinename
Sun Apr 22 08:32:46 EDT [snapevent]: Snapshot test2 deleted on vol vol0 by
user luser from machinename
Sun Apr 22 08:33:46 EDT [snapevent]: Snapshot test3 created on vol vol0 by
user luser from console
[...] Mon Apr 23 00:00:02 EDT [snapevent]: Snapshot nightly.0 rolled on vol vol0
by user root from scheduler
[...]
Etc?
Sometimes, as today, I find snapshots that should be there aren't, and it takes a while to find out how they disappeared. Sometimes, I never do find out how they gave up their mortal bits.
Until next time...
The Mathworks, Inc. 508-647-7000 x7792 3 Apple Hill Drive, Natick, MA 01760-2098 508-647-7001 FAX tmerrill@mathworks.com http://www.mathworks.com