Hi > [Default] On Sat, 15 Nov 2008 11:37:50 +0200, Mike Futerko > <[EMAIL PROTECTED]> wrote: > >> Hello >> >> Is there any way to list all snapshots of particular file system >> without listing the snapshots of its children file systems? > > fsnm=tank/fs;zfs list -rt snapshot ${fsnm}|grep "${fsnm}@" > > or even > > fsnm=tank/fs;zfs list -r ${fsnm}|grep "${fsnm}@"
Yes, thanks - I know about grep but if you have hundred of thousands of snapshots grep is what I wanted to avoid. In my case full zfs list -rt snapshot take hours, while listing snapshot for individual filesystem is much much quicker :( Regards Mike _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss