Operations Manager (we're using 4.0.2) has a canned report called 'Volume Clones'. This will show you all volumes and any clones which exist of them. We also use an alert when a volume has a snapshot > 30 days old (for example) - this will catch any old snapshots including those locked by flexclones.
Hi, Thanks for your posting, i have done some investingation form DFM side and we use 4.02 D1 version from there I can see vol clone list, but it doesn have exact information which i need it. Is there way that we can customized to have a better report include sechdule, snapshot details etc
Power shell i dont have idea, From My undersanding it collects report for VOL?CLONES can you share the INFO about the script execution? with Some O/P is really helpful
With the Operations Manager Reports you can manually work out what snapshot is used to create the clone. As far as I'm aware the only way (other than trawling the messages file) to find out when a clone was created is by finding out what snapshot it used in the parent volume. That is normally what is most important as the clone locks the source snapshot.
I would try using Powershell if you're a Windows house, or shell script via ssh/rsh.
With Perl you can do the same thing (assuming you can get some sort of access to the filer via ssh/rsh), you just don't have the commandlets you get in PS, so you'll need to write more code to do this. You can search for a snapshot status of *vclone* - that tells you the snapshot is locked by volume clone. You then need to find out which volume is cloned from it. You can do this via the vol status command, eg:
root@toaster1:~# vol status SnapManager_20120307050057507_ORA_DB_01