getting ride of old snapshots
for i in `zfs list|grep $pool/$fs/$fs@$date/description+wildcard|cut -d" " -f1 -`;do zfs destroy $i;done
for i in `zfs list|grep $pool/$fs/$fs@$date/description+wildcard|cut -d" " -f1 -`;do zfs destroy $i;done
The URI to TrackBack this entry is: http://onetruth.blogsome.com/2007/08/23/getting-ride-of-old-snapshots/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham