To Delete ZFS Snapshot
zfs destroy $snapshot
To make it easy, following is the bash script to delete all the zfs snapshot with single shot
#!/bin/bash
for snapshot in `zfs list -H -t snapshot | cut -f 1`;
do
zfs destroy $snapshot;
done
To Delete ZFS Snapshot
zfs destroy $snapshot
To make it easy, following is the bash script to delete all the zfs snapshot with single shot
#!/bin/bash
for snapshot in `zfs list -H -t snapshot | cut -f 1`;
do
zfs destroy $snapshot;
done