Re: [zfs-discuss] How to delete hundreds of emtpy snapshots

2008-07-17 Thread Sylvain Dusart
Hi Joe, I use this script to delete my empty snapshots : #!/bin/bash NOW=$(date +%Y%m%d-%H%M%S) POOL=tank zfs snapshot -r [EMAIL PROTECTED] FS_WITH_SNAPSHOTS=$(zfs list -t snapshot | grep '@' | cut -d '@' -f 1 | uniq) for fs in $FS_WITH_SNAPSHOTS ; do EMPTY_SNAPSHOTS=$(zfs list -t s

Re: [zfs-discuss] Suggestion/Request: ZFS-aware rm command

2007-11-13 Thread Sylvain Dusart
2007/11/13, Paul Jochum <[EMAIL PROTECTED]>: > (the only option I can think of, is to use clones instead of snapshots in the > future, just so that I can delete files in the clones in case I ever need to) But to create a clone you'll need a snapshot so I think the problem will still be there...